mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
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:
parent
829b269e1e
commit
79bc255fa2
2 changed files with 14 additions and 0 deletions
|
@ -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 */
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue