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.
This commit is contained in:
Jan Schmidt 2020-03-04 03:43:51 +11:00 committed by GStreamer Merge Bot
parent d43ad6e029
commit 54f68ff36b

View file

@ -5740,6 +5740,9 @@ gst_qt_mux_video_sink_set_caps (GstQTMuxPad * qtpad, GstCaps * caps)
gst_structure_get_flagset (structure, gst_structure_get_flagset (structure,
"multiview-flags", (guint *) & flags, NULL); "multiview-flags", (guint *) & flags, NULL);
switch (mode) { 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: case GST_VIDEO_MULTIVIEW_MODE_SIDE_BY_SIDE:
qtpad->trak->mdia.minf.stbl.svmi = qtpad->trak->mdia.minf.stbl.svmi =
atom_svmi_new (0, atom_svmi_new (0,