mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
glupload: Fix assertion after API changes
This commit is contained in:
parent
5009338a50
commit
631278270f
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue