mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 21:18:52 +00:00
compositor: Reject multiview video
Compositor does not support it currently and it needs special support for handling this correctly, and is rather non-trivial to implement for all formats.
This commit is contained in:
parent
dd18a6eb45
commit
52fe0dbeaa
1 changed files with 8 additions and 0 deletions
|
@ -283,6 +283,14 @@ gst_compositor_pad_set_info (GstVideoAggregatorPad * pad,
|
|||
|
||||
cpad->convert = NULL;
|
||||
|
||||
if (GST_VIDEO_INFO_MULTIVIEW_MODE (current_info) !=
|
||||
GST_VIDEO_MULTIVIEW_MODE_NONE
|
||||
&& GST_VIDEO_INFO_MULTIVIEW_MODE (current_info) !=
|
||||
GST_VIDEO_MULTIVIEW_MODE_MONO) {
|
||||
GST_FIXME_OBJECT (pad, "Multiview support is not implemented yet");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
colorimetry = gst_video_colorimetry_to_string (&(current_info->colorimetry));
|
||||
chroma = gst_video_chroma_to_string (current_info->chroma_site);
|
||||
|
||||
|
|
Loading…
Reference in a new issue