winegstreamer: Print messages relating to missing decoders in the winediag channel.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2022-05-03 16:21:57 -05:00 committed by Alexandre Julliard
parent 1690165958
commit a4201aa6de
2 changed files with 4 additions and 2 deletions

View File

@ -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);

View File

@ -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);