avviddec: Don't expose NVIDIA CUVID decoder

It's not working without further changes on our side, like all hardware
decoders in ffmpeg.
This commit is contained in:
Sebastian Dröge 2017-05-16 18:54:32 +03:00
parent 1038ae2327
commit 15a17f3f8d

View file

@ -2307,6 +2307,13 @@ gst_ffmpegviddec_register (GstPlugin * plugin)
goto next;
}
if (g_str_has_suffix (in_plugin->name, "_cuvid")) {
GST_DEBUG
("Ignoring CUVID 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 */