From bc79fe565c408aa0b046c1345bc579111f594fa0 Mon Sep 17 00:00:00 2001 From: Arnaud Vrac Date: Wed, 24 Oct 2012 13:50:00 +0200 Subject: [PATCH] qtdemux: use correct type for channel-mask bitmask Fixes crash on 32-bit systems. --- gst/isomp4/qtdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; -- 2.7.4