diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-12-14 15:36:14 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-12-14 15:36:14 +0200 |
commit | 951ddc6ece7e8a7aea94e27d71b2f88bc37add1f (patch) | |
tree | 7e2d4ad723d29f5d426fd29e3f0e43090a3f14bd /gst/compositor | |
parent | e07a7bbf293217157d85714eea224ae3b1e844b2 (diff) | |
download | gstreamer-plugins-bad-951ddc6ece7e8a7aea94e27d71b2f88bc37add1f.tar.gz |
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.
Diffstat (limited to 'gst/compositor')
-rw-r--r-- | gst/compositor/compositor.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gst/compositor/compositor.c b/gst/compositor/compositor.c index c9fd3fc1e..2eac00d87 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); |