From 83c2b906d1d815f26de7e63422adb2df1bb3b593 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Thu, 8 May 2014 17:28:11 +1000 Subject: [PATCH] gl/upload: fix compilation on OS X --- gst-libs/gst/gl/gstglupload.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; -- 2.7.4