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:
parent
d43ad6e029
commit
54f68ff36b
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user