From: Arnaud Vrac Date: Wed, 24 Oct 2012 11:50:00 +0000 (+0200) Subject: qtdemux: use correct type for channel-mask bitmask X-Git-Tag: 1.0.2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bc79fe565c408aa0b046c1345bc579111f594fa0;p=platform%2Fupstream%2Fgst-plugins-good.git qtdemux: use correct type for channel-mask bitmask Fixes crash on 32-bit systems. --- diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index 247a99b..f17cfd6 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -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++;