Commit a657f789 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

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).
parent 299347e4
......@@ -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")) {
("Ignoring VDPAU decoder %s. We can't handle this outside of ffmpeg",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment