mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
glupload: don't determine if frame needs upload by pointer compare
https://bugzilla.gnome.org/show_bug.cgi?id=734269
This commit is contained in:
parent
fab6790c7f
commit
f322a331c8
1 changed files with 1 additions and 1 deletions
|
@ -449,7 +449,7 @@ _gst_gl_upload_perform_with_data_unlocked (GstGLUpload * upload,
|
|||
upload->in_tex);
|
||||
|
||||
for (i = 0; i < GST_VIDEO_MAX_PLANES; i++) {
|
||||
if (upload->in_tex[i] && upload->in_tex[i]->data != data[i]) {
|
||||
if (upload->in_tex[i]) {
|
||||
upload->in_tex[i]->data = data[i];
|
||||
GST_GL_MEMORY_FLAG_SET (upload->in_tex[i],
|
||||
GST_GL_MEMORY_FLAG_NEED_UPLOAD);
|
||||
|
|
Loading…
Reference in a new issue