From 951ddc6ece7e8a7aea94e27d71b2f88bc37add1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 14 Dec 2016 15:36:14 +0200 Subject: [PATCH] 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. --- gst/compositor/compositor.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gst/compositor/compositor.c b/gst/compositor/compositor.c index c9fd3fc1ea..2eac00d87a 100644 --- a/gst/compositor/compositor.c +++ b/gst/compositor/compositor.c @@ -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);