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:
parent
1690165958
commit
a4201aa6de
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue