From 2ef74f2c81ef0c025c450a42730c8e96889fdf24 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Thu, 29 Aug 2019 22:11:02 +0900 Subject: [PATCH] qtmux: Fix incompatible type warning with MSVC gstqtmux.c(5582): warning C4133: 'function': incompatible types - from 'GstVideoMultiviewFlags *' to 'guint *' --- gst/isomp4/gstqtmux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/isomp4/gstqtmux.c b/gst/isomp4/gstqtmux.c index 4b6182c..cd52bb6 100644 --- a/gst/isomp4/gstqtmux.c +++ b/gst/isomp4/gstqtmux.c @@ -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 = -- 2.7.4