mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
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:
parent
299347e426
commit
a657f789d3
1 changed files with 1 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue