[PATCH 1/2] winegstreamer: Print messages relating to missing decoders in the winediag channel.

Zebediah Figura zfigura at codeweavers.com
Tue May 3 16:21:57 CDT 2022


Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
 dlls/winegstreamer/h264_decoder.c | 3 ++-
 dlls/winegstreamer/wma_decoder.c  | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/winegstreamer/h264_decoder.c b/dlls/winegstreamer/h264_decoder.c
index b98f137eb82..ed990428dec 100644
--- a/dlls/winegstreamer/h264_decoder.c
+++ b/dlls/winegstreamer/h264_decoder.c
@@ -27,6 +27,7 @@
 #include "wine/debug.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(mfplat);
+WINE_DECLARE_DEBUG_CHANNEL(winediag);
 
 static const GUID *const h264_decoder_input_types[] =
 {
@@ -613,7 +614,7 @@ HRESULT h264_decoder_create(REFIID riid, void **ret)
 
     if (!(transform = wg_transform_create(&input_format, &output_format)))
     {
-        FIXME("GStreamer doesn't support H264 decoding, please install appropriate plugins\n");
+        ERR_(winediag)("GStreamer doesn't support H.264 decoding, please install appropriate plugins\n");
         return E_FAIL;
     }
     wg_transform_destroy(transform);
diff --git a/dlls/winegstreamer/wma_decoder.c b/dlls/winegstreamer/wma_decoder.c
index 24ea176bfc8..fb20ba7a2ce 100644
--- a/dlls/winegstreamer/wma_decoder.c
+++ b/dlls/winegstreamer/wma_decoder.c
@@ -29,6 +29,7 @@
 #include "wine/heap.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(wmadec);
+WINE_DECLARE_DEBUG_CHANNEL(winediag);
 
 static const GUID *const wma_decoder_input_types[] =
 {
@@ -872,7 +873,7 @@ HRESULT wma_decoder_create(IUnknown *outer, IUnknown **out)
 
     if (!(transform = wg_transform_create(&input_format, &output_format)))
     {
-        FIXME("GStreamer doesn't support WMA decoding, please install appropriate plugins\n");
+        ERR_(winediag)("GStreamer doesn't support WMA decoding, please install appropriate plugins\n");
         return E_FAIL;
     }
     wg_transform_destroy(transform);
-- 
2.36.0




More information about the wine-devel mailing list