mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ gst_gsmdec_sink_setcaps (GstPad * pad, GstCaps * caps)
|
||||||
|
|
||||||
/* Setting up src caps based on the input sample rate. */
|
/* Setting up src caps based on the input sample rate. */
|
||||||
srccaps = gst_caps_new_simple ("audio/x-raw-int",
|
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,
|
"signed", G_TYPE_BOOLEAN, TRUE,
|
||||||
"width", G_TYPE_INT, 16,
|
"width", G_TYPE_INT, 16,
|
||||||
"depth", G_TYPE_INT, 16,
|
"depth", G_TYPE_INT, 16,
|
||||||
|
|
Loading…
Reference in a new issue