From: <bi...@ke...> - 2010-02-18 13:09:47
|
Module: gst-ffmpeg Branch: master Commit: cc4d502d30f79bb4c0ea8d7f10572249b698fcc7 URL: http://cgit.freedesktop.org/gstreamer/gst-ffmpeg/commit/?id=cc4d502d30f79bb4c0ea8d7f10572249b698fcc7 Author: Edward Hervey <bi...@bi...> Date: Thu Feb 18 13:28:40 2010 +0100 gstffmpegdec: Don't enable xvmc decoders, we can't support the output --- ext/ffmpeg/gstffmpegdec.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/ext/ffmpeg/gstffmpegdec.c b/ext/ffmpeg/gstffmpegdec.c index a2c081b..0b3e92e 100644 --- a/ext/ffmpeg/gstffmpegdec.c +++ b/ext/ffmpeg/gstffmpegdec.c @@ -2810,6 +2810,13 @@ gst_ffmpegdec_register (GstPlugin * plugin) goto next; } + if (g_str_has_suffix (in_plugin->name, "_xvmc")) { + GST_DEBUG + ("Ignoring XVMC 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 */ |