Commit 55297bdb authored by Scott D Phillips's avatar Scott D Phillips Committed by Sebastian Dröge
Browse files

Use intermediate guint when handling GstVideoMultiviewFlags

The underlying integer type of the enum GstVideoMultiviewFlags is
implementation defined and may not have the same size as guint.
parent 70e1d1bc
......@@ -943,6 +943,7 @@ gst_matroska_mux_video_pad_setcaps (GstPad * pad, GstCaps * caps)
GstBuffer *codec_buf = NULL;
gint width, height, pixel_width, pixel_height;
gint fps_d, fps_n;
guint multiview_flags;
......@@ -1008,8 +1009,9 @@ gst_matroska_mux_video_pad_setcaps (GstPad * pad, GstCaps * caps)
if ((s = gst_structure_get_string (structure, "multiview-mode")))
videocontext->multiview_mode =
gst_video_multiview_mode_from_caps_string (s);
gst_structure_get_flagset (structure, "multiview-flags",
&videocontext->multiview_flags, NULL);
gst_structure_get_flagset (structure, "multiview-flags", &multiview_flags,
videocontext->multiview_flags = multiview_flags;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment