From 54f68ff36be40033eccb0407e8e24d3cb4ca3b91 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Wed, 4 Mar 2020 03:43:51 +1100 Subject: [PATCH] qtmux: Remove warning in the log for mono video Vanilla mono video was generating a spurious warning into the debug log that's just misleading. Handle mono caps explicitly to avoid the warning. --- gst/isomp4/gstqtmux.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst/isomp4/gstqtmux.c b/gst/isomp4/gstqtmux.c index bb7f40c2c2..701ba4008e 100644 --- a/gst/isomp4/gstqtmux.c +++ b/gst/isomp4/gstqtmux.c @@ -5740,6 +5740,9 @@ gst_qt_mux_video_sink_set_caps (GstQTMuxPad * qtpad, GstCaps * caps) gst_structure_get_flagset (structure, "multiview-flags", (guint *) & flags, NULL); switch (mode) { + case GST_VIDEO_MULTIVIEW_MODE_MONO: + /* Nothing to do for mono, just don't warn about it */ + break; case GST_VIDEO_MULTIVIEW_MODE_SIDE_BY_SIDE: qtpad->trak->mdia.minf.stbl.svmi = atom_svmi_new (0,