diff --git a/ext/libav/gstavviddec.c b/ext/libav/gstavviddec.c index 1f6edc3fc5..251823b653 100644 --- a/ext/libav/gstavviddec.c +++ b/ext/libav/gstavviddec.c @@ -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 */