mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
qtmux: endianness in gstreamer is an int, not boolean.
This commit is contained in:
parent
150f9ad64d
commit
2d3dc1653b
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue