qtdemux: use correct type for channel-mask bitmask
authorArnaud Vrac <avrac@freebox.fr>
Wed, 24 Oct 2012 11:50:00 +0000 (13:50 +0200)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 24 Oct 2012 11:54:08 +0000 (12:54 +0100)
Fixes crash on 32-bit systems.

gst/isomp4/qtdemux.c

index 247a99b..f17cfd6 100644 (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++;