From 631278270ff1df42afc7386fd5395b31e8c8a559 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 29 May 2014 10:37:02 +0200 Subject: [PATCH] glupload: Fix assertion after API changes --- gst-libs/gst/gl/gstglupload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/gstglupload.c b/gst-libs/gst/gl/gstglupload.c index 637c2ca2a4..d87c38d923 100644 --- a/gst-libs/gst/gl/gstglupload.c +++ b/gst-libs/gst/gl/gstglupload.c @@ -435,7 +435,7 @@ _gst_gl_upload_perform_with_data_unlocked (GstGLUpload * upload, guint i; g_return_val_if_fail (upload != NULL, FALSE); - g_return_val_if_fail (texture_id > 0, FALSE); + g_return_val_if_fail (texture_id != NULL, FALSE); if (!upload->in_tex[0]) gst_gl_memory_setup_wrapped (upload->context, &upload->in_info, data,