diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-03-11 13:25:40 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-03-11 13:25:40 +0100 |
commit | 59796dd0bc0e4e985d5c31777648dd01d01c1184 (patch) | |
tree | 5dea796000db6b3a44c08ad507e2e40fab7dc570 /ext | |
parent | 2df7d3e960d71045da096e67225b008005b4576e (diff) |
gstffmpegdec: Disable vdpau decoders. Fixes #573400
Diffstat (limited to 'ext')
-rw-r--r-- | ext/ffmpeg/gstffmpegdec.c | 13 |
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 */ |