mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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
1 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue