avvid*: Don't expose V4L2 mem-to-mem decoder and encoders

It's not going to work without special handling. Mask for now.
This commit is contained in:
Edward Hervey 2018-02-10 15:18:11 +01:00 committed by Edward Hervey
parent 829b269e1e
commit 79bc255fa2
2 changed files with 14 additions and 0 deletions

View file

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

View file

@ -1048,6 +1048,13 @@ gst_ffmpegvidenc_register (GstPlugin * plugin)
goto next;
}
if (g_str_has_suffix (in_plugin->name, "_v4l2m2m")) {
GST_DEBUG
("Ignoring V4L2 mem-to-mem encoder %s. We can't handle this outside of ffmpeg",
in_plugin->name);
goto next;
}
/* only video encoders */
if (!av_codec_is_encoder (in_plugin)
|| in_plugin->type != AVMEDIA_TYPE_VIDEO)