qtdemux: use correct type for channel-mask bitmask

Fixes crash on 32-bit systems.
This commit is contained in:
Arnaud Vrac 2012-10-24 13:50:00 +02:00 committed by Tim-Philipp Müller
parent 69246dfef7
commit bc79fe565c

View file

@ -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++;