From: Matthew Waters Date: Thu, 8 May 2014 07:28:11 +0000 (+1000) Subject: gl/upload: fix compilation on OS X X-Git-Tag: 1.16.2~955^2~1495 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=83c2b906d1d815f26de7e63422adb2df1bb3b593;p=platform%2Fupstream%2Fgst-plugins-base.git gl/upload: fix compilation on OS X --- diff --git a/gst-libs/gst/gl/gstglupload.c b/gst-libs/gst/gl/gstglupload.c index fa149ee..88d206f 100644 --- a/gst-libs/gst/gl/gstglupload.c +++ b/gst-libs/gst/gl/gstglupload.c @@ -181,11 +181,11 @@ static void _gst_gl_upload_set_format_unlocked (GstGLUpload * upload, GstVideoInfo *in_info) { - g_return_val_if_fail (upload != NULL, FALSE); - g_return_val_if_fail (GST_VIDEO_INFO_FORMAT (in_info) != - GST_VIDEO_FORMAT_UNKNOWN, FALSE); - g_return_val_if_fail (GST_VIDEO_INFO_FORMAT (in_info) != - GST_VIDEO_FORMAT_ENCODED, FALSE); + g_return_if_fail (upload != NULL); + g_return_if_fail (GST_VIDEO_INFO_FORMAT (in_info) != + GST_VIDEO_FORMAT_UNKNOWN); + g_return_if_fail (GST_VIDEO_INFO_FORMAT (in_info) != + GST_VIDEO_FORMAT_ENCODED); if (gst_video_info_is_equal (&upload->in_info, in_info)) return;