glupload: Fix assertion after API changes

This commit is contained in:
Sebastian Dröge 2014-05-29 10:37:02 +02:00 committed by Tim-Philipp Müller
parent 5009338a50
commit 631278270f

View file

@ -435,7 +435,7 @@ _gst_gl_upload_perform_with_data_unlocked (GstGLUpload * upload,
guint i; guint i;
g_return_val_if_fail (upload != NULL, FALSE); 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]) if (!upload->in_tex[0])
gst_gl_memory_setup_wrapped (upload->context, &upload->in_info, data, gst_gl_memory_setup_wrapped (upload->context, &upload->in_info, data,