rtp: use GLib's G_BIG_ENDIAN define instead of BIG_ENDIAN

Fixes compiler warning on mingw32
This commit is contained in:
Tim-Philipp Müller 2011-11-03 23:28:31 +00:00
parent 57684fee3a
commit d65490dfad

View file

@ -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,