From 59796dd0bc0e4e985d5c31777648dd01d01c1184 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Wed, 11 Mar 2009 13:25:40 +0100 Subject: [PATCH] gstffmpegdec: Disable vdpau decoders. Fixes #573400 --- ext/ffmpeg/gstffmpegdec.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ext/ffmpeg/gstffmpegdec.c b/ext/ffmpeg/gstffmpegdec.c index c330dc1252..ee1c71edf7 100644 --- a/ext/ffmpeg/gstffmpegdec.c +++ b/ext/ffmpeg/gstffmpegdec.c @@ -2558,6 +2558,19 @@ gst_ffmpegdec_register (GstPlugin * plugin) goto next; } + /* No vdpau plugins until we can figure out how to properly use them + * outside of ffmpeg. */ + if (!strcmp (in_plugin->name, "h264_vdpau") || + !strcmp (in_plugin->name, "mpeg_vdpau") || + !strcmp (in_plugin->name, "mpeg1_vdpau") || + !strcmp (in_plugin->name, "vc1_vdpau") || + !strcmp (in_plugin->name, "wmv3_vdpau")) { + GST_DEBUG + ("Ignoring VDPAU decoder %s. We can't handle this outside of ffmpeg", + in_plugin->name); + goto next; + } + GST_DEBUG ("Trying plugin %s [%s]", in_plugin->name, in_plugin->long_name); /* no codecs for which we're GUARANTEED to have better alternatives */