Commit ba822e1d authored by Wang Xin-yu (王昕宇)'s avatar Wang Xin-yu (王昕宇) Committed by Matthew Waters

glupload: don't determine if frame needs upload by pointer compare
parent 54c61efe
......@@ -449,7 +449,7 @@ _gst_gl_upload_perform_with_data_unlocked (GstGLUpload * upload,
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],
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment