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)
committerMichael Smith <msmith@songbirdnest.com>
Tue, 2 Feb 2010 00:23:47 +0000 (16:23 -0800)
gst/qtmux/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;
     }