qtmux: endianness in gstreamer is an int, not boolean.
authorMichael Smith <msmith@songbirdnest.com>
Fri, 22 Jan 2010 21:30:07 +0000 (13:30 -0800)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 12 Apr 2011 19:32:15 +0000 (20:32 +0100)
gst/quicktime/gstqtmux.c

index 6ee8aea..e1c4095 100644 (file)
@@ -1885,8 +1885,7 @@ gst_qt_mux_audio_sink_set_caps (GstPad * pad, GstCaps * caps)
 
     if (depth <= 8) {
       endianness = G_BYTE_ORDER;
-    } else if (!gst_structure_get_boolean (structure,
-            "endianness", &endianness)) {
+    } else if (!gst_structure_get_int (structure, "endianness", &endianness)) {
       GST_DEBUG_OBJECT (qtmux, "broken caps, endianness field missing");
       goto refuse_caps;
     }