mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +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
e07a7bbf29
commit
951ddc6ece
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