mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
qtmux: endianness in gstreamer is an int, not boolean.
This commit is contained in:
parent
c2b1bebc02
commit
5753f8a3aa
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