summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-03-11 13:25:40 +0100
committerEdward Hervey <bilboed@bilboed.com>2009-03-11 13:25:40 +0100
commit59796dd0bc0e4e985d5c31777648dd01d01c1184 (patch)
tree5dea796000db6b3a44c08ad507e2e40fab7dc570 /ext
parent2df7d3e960d71045da096e67225b008005b4576e (diff)
gstffmpegdec: Disable vdpau decoders. Fixes #573400
Diffstat (limited to 'ext')
-rw-r--r--ext/ffmpeg/gstffmpegdec.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/ffmpeg/gstffmpegdec.c b/ext/ffmpeg/gstffmpegdec.c
index c330dc1..ee1c71e 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 */