ffmpegdec: ignore all vdpau decoders

Make check for vdpau decoders more generic. There might be vdpau
decoders we don't expect when using an external ffmpeg version,
and we want those blacklisted as well (e.g. ffdec_mpeg4_vdpau).
This commit is contained in:
Tim-Philipp Müller 2009-12-09 15:27:14 +00:00
parent 299347e426
commit a657f789d3

View file

@ -2789,13 +2789,7 @@ gst_ffmpegdec_register (GstPlugin * plugin)
/* 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, "mpegvideo_vdpau") ||
!strcmp (in_plugin->name, "mpeg1video_vdpau") ||
!strcmp (in_plugin->name, "vc1_vdpau") ||
!strcmp (in_plugin->name, "wmv3_vdpau")) {
if (g_str_has_suffix (in_plugin->name, "_vdpau")) {
GST_DEBUG
("Ignoring VDPAU decoder %s. We can't handle this outside of ffmpeg",
in_plugin->name);