From d65490dfad2610b203a4968ed6857d91bee60141 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 3 Nov 2011 23:28:31 +0000 Subject: [PATCH] rtp: use GLib's G_BIG_ENDIAN define instead of BIG_ENDIAN Fixes compiler warning on mingw32 --- gst/rtp/gstrtpvrawdepay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtp/gstrtpvrawdepay.c b/gst/rtp/gstrtpvrawdepay.c index 16f93fb275..36ec938f18 100644 --- a/gst/rtp/gstrtpvrawdepay.c +++ b/gst/rtp/gstrtpvrawdepay.c @@ -261,7 +261,7 @@ gst_rtp_vraw_depay_setcaps (GstBaseRTPDepayload * depayload, GstCaps * caps) if (!strcmp (type, "video/x-raw-rgb")) { gst_caps_set_simple (srccaps, - "endianness", G_TYPE_INT, BIG_ENDIAN, + "endianness", G_TYPE_INT, G_BIG_ENDIAN, "red_mask", G_TYPE_INT, rmask, "green_mask", G_TYPE_INT, gmask, "blue_mask", G_TYPE_INT, bmask,