summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Vrac <avrac@freebox.fr>2012-10-24 13:50:00 +0200
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2012-10-24 12:54:08 +0100
commitbc79fe565c408aa0b046c1345bc579111f594fa0 (patch)
tree5c46b1c8f5810b7de3e4f45221714d4000068c9b
parent69246dfef7b91b31b69b0398ab92990b9844b5a5 (diff)
downloadgstreamer-plugins-good-bc79fe565c408aa0b046c1345bc579111f594fa0.tar.gz
qtdemux: use correct type for channel-mask bitmask
Fixes crash on 32-bit systems.
-rw-r--r--gst/isomp4/qtdemux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c
index 247a99b38..f17cfd6b7 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++;