Commit bc79fe56 authored by Arnaud Vrac's avatar Arnaud Vrac Committed by Tim-Philipp Müller

qtdemux: use correct type for channel-mask bitmask

Fixes crash on 32-bit systems.
parent 69246dfe
......@@ -5212,7 +5212,7 @@ gst_qtdemux_add_stream (GstQTDemux * qtdemux,
* correctly; this is just the minimum we can do - assume
* we don't actually have any channel positions. */
gst_caps_set_simple (stream->caps,
"channel-mask", GST_TYPE_BITMASK, 0, NULL);
"channel-mask", GST_TYPE_BITMASK, G_GUINT64_CONSTANT (0), NULL);
}
}
qtdemux->n_audio_streams++;
......
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