qtmux: Fix incompatible type warning with MSVC

gstqtmux.c(5582): warning C4133: 'function':
  incompatible types - from 'GstVideoMultiviewFlags *' to 'guint *'
This commit is contained in:
Seungha Yang 2019-08-29 22:11:02 +09:00 committed by Thibault Saunier
parent c5e8a8f320
commit 2ef74f2c81

View file

@ -5579,7 +5579,8 @@ gst_qt_mux_video_sink_set_caps (GstQTPad * qtpad, GstCaps * caps)
GstVideoMultiviewFlags flags = 0;
mode = gst_video_multiview_mode_from_caps_string (multiview_mode);
gst_structure_get_flagset (structure, "multiview-flags", &flags, NULL);
gst_structure_get_flagset (structure,
"multiview-flags", (guint *) & flags, NULL);
switch (mode) {
case GST_VIDEO_MULTIVIEW_MODE_SIDE_BY_SIDE:
qtpad->trak->mdia.minf.stbl.svmi =