mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
gl/upload: fix compilation on OS X
This commit is contained in:
parent
862df41b2d
commit
83c2b906d1
1 changed files with 5 additions and 5 deletions
|
@ -181,11 +181,11 @@ static void
|
||||||
_gst_gl_upload_set_format_unlocked (GstGLUpload * upload,
|
_gst_gl_upload_set_format_unlocked (GstGLUpload * upload,
|
||||||
GstVideoInfo *in_info)
|
GstVideoInfo *in_info)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (upload != NULL, FALSE);
|
g_return_if_fail (upload != NULL);
|
||||||
g_return_val_if_fail (GST_VIDEO_INFO_FORMAT (in_info) !=
|
g_return_if_fail (GST_VIDEO_INFO_FORMAT (in_info) !=
|
||||||
GST_VIDEO_FORMAT_UNKNOWN, FALSE);
|
GST_VIDEO_FORMAT_UNKNOWN);
|
||||||
g_return_val_if_fail (GST_VIDEO_INFO_FORMAT (in_info) !=
|
g_return_if_fail (GST_VIDEO_INFO_FORMAT (in_info) !=
|
||||||
GST_VIDEO_FORMAT_ENCODED, FALSE);
|
GST_VIDEO_FORMAT_ENCODED);
|
||||||
|
|
||||||
if (gst_video_info_is_equal (&upload->in_info, in_info))
|
if (gst_video_info_is_equal (&upload->in_info, in_info))
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue