Rémi Bernon : winegstreamer: Use the correct name for WMADecMediaObject DMO.

Alexandre Julliard julliard at winehq.org
Tue Aug 2 14:53:35 CDT 2022


Module: wine
Branch: master
Commit: b48fc2c2d64b7c8ae3c4a8d63bd5b3badff1c552
URL:    https://gitlab.winehq.org/wine/wine/-/commit/b48fc2c2d64b7c8ae3c4a8d63bd5b3badff1c552

Author: Rémi Bernon <rbernon at codeweavers.com>
Date:   Sun Apr  3 21:30:10 2022 +0200

winegstreamer: Use the correct name for WMADecMediaObject DMO.

---

 dlls/mf/tests/mf.c        | 1 -
 dlls/winegstreamer/main.c | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/mf/tests/mf.c b/dlls/mf/tests/mf.c
index 10f69e73a8b..6621a0f0674 100644
--- a/dlls/mf/tests/mf.c
+++ b/dlls/mf/tests/mf.c
@@ -125,7 +125,6 @@ static void check_dmo(const GUID *class_id, const WCHAR *expect_name, const GUID
 
     hr = DMOGetName(class_id, name);
     ok(hr == S_OK, "DMOGetName returned %#lx\n", hr);
-    todo_wine_if(!wcscmp(expect_name, L"WMAudio Decoder DMO"))
     ok(!wcscmp(name, expect_name), "got name %s\n", debugstr_w(name));
 
     hr = DMOGetTypes(class_id, ARRAY_SIZE(input), &input_count, input,
diff --git a/dlls/winegstreamer/main.c b/dlls/winegstreamer/main.c
index 20dcdccc606..189790db155 100644
--- a/dlls/winegstreamer/main.c
+++ b/dlls/winegstreamer/main.c
@@ -759,7 +759,7 @@ HRESULT WINAPI DllRegisterServer(void)
 
     IFilterMapper2_Release(mapper);
 
-    if (FAILED(hr = DMORegister(L"WMA Decoder DMO", &CLSID_WMADecMediaObject, &DMOCATEGORY_AUDIO_DECODER,
+    if (FAILED(hr = DMORegister(L"WMAudio Decoder DMO", &CLSID_WMADecMediaObject, &DMOCATEGORY_AUDIO_DECODER,
             0, ARRAY_SIZE(wma_decoder_input), wma_decoder_input, ARRAY_SIZE(wma_decoder_output), wma_decoder_output)))
         return hr;
     if (FAILED(hr = DMORegister(L"Resampler DMO", &CLSID_CResamplerMediaObject, &DMOCATEGORY_AUDIO_EFFECT,




More information about the wine-cvs mailing list