gsmdec: Use G_BYTE_ORDER to fix Windows compile
gstgsmdec relies on BYTE_ORDER, which is not available on Windows. Use G_BYTE_ORDER instead. Fixes #573850.
This commit is contained in:
parent
6dbf8906b5
commit
b5d4c2a7bf
@ -206,7 +206,7 @@ gst_gsmdec_sink_setcaps (GstPad * pad, GstCaps * caps)
|
||||
|
||||
/* Setting up src caps based on the input sample rate. */
|
||||
srccaps = gst_caps_new_simple ("audio/x-raw-int",
|
||||
"endianness", G_TYPE_INT, BYTE_ORDER,
|
||||
"endianness", G_TYPE_INT, G_BYTE_ORDER,
|
||||
"signed", G_TYPE_BOOLEAN, TRUE,
|
||||
"width", G_TYPE_INT, 16,
|
||||
"depth", G_TYPE_INT, 16,
|
||||
|
Loading…
x
Reference in New Issue
Block a user