summaryrefslogtreecommitdiff
path: root/src/player/backends
diff options
context:
space:
mode:
Diffstat (limited to 'src/player/backends')
-rw-r--r--src/player/backends/direct_show.c1
-rw-r--r--src/player/backends/media_foundation.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/player/backends/direct_show.c b/src/player/backends/direct_show.c
index d6597c0..111f042 100644
--- a/src/player/backends/direct_show.c
+++ b/src/player/backends/direct_show.c
@@ -442,6 +442,7 @@ static bool DSPlayerIsFinished(player2_t player)
player2_iface player2_direct_show =
{
+ .Id = "ds",
.Name = "Direct Show",
.Create = DSPlayerCreate,
.Destroy = DSPlayerDestroy,
diff --git a/src/player/backends/media_foundation.cpp b/src/player/backends/media_foundation.cpp
index 749a6f3..6aa0d00 100644
--- a/src/player/backends/media_foundation.cpp
+++ b/src/player/backends/media_foundation.cpp
@@ -1088,6 +1088,7 @@ extern "C" bool WMFPlayerIsFinished(player2_t player)
extern "C" player2_iface player2_windows_media_foundation =
{
+ /*.Id =*/ "mf",
/*.Name =*/ "Windows Media Foundation",
/*.Create =*/ WMFPlayerCreate,
/*.Destroy =*/ WMFPlayerDestroy,