qtmux: endianness in gstreamer is an int, not boolean.

This commit is contained in:
Michael Smith 2010-01-22 13:30:07 -08:00
parent c2b1bebc02
commit 5753f8a3aa

View 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;
}