mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
rtp: use GLib's G_BIG_ENDIAN define instead of BIG_ENDIAN
Fixes compiler warning on mingw32
This commit is contained in:
parent
57684fee3a
commit
d65490dfad
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ gst_rtp_vraw_depay_setcaps (GstBaseRTPDepayload * depayload, GstCaps * caps)
|
||||||
|
|
||||||
if (!strcmp (type, "video/x-raw-rgb")) {
|
if (!strcmp (type, "video/x-raw-rgb")) {
|
||||||
gst_caps_set_simple (srccaps,
|
gst_caps_set_simple (srccaps,
|
||||||
"endianness", G_TYPE_INT, BIG_ENDIAN,
|
"endianness", G_TYPE_INT, G_BIG_ENDIAN,
|
||||||
"red_mask", G_TYPE_INT, rmask,
|
"red_mask", G_TYPE_INT, rmask,
|
||||||
"green_mask", G_TYPE_INT, gmask,
|
"green_mask", G_TYPE_INT, gmask,
|
||||||
"blue_mask", G_TYPE_INT, bmask,
|
"blue_mask", G_TYPE_INT, bmask,
|
||||||
|
|
Loading…
Reference in a new issue