projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fab6790
)
glupload: don't determine if frame needs upload by pointer compare
author
Wang Xin-yu (王昕宇)
<comicfans44@gmail.com>
Wed, 6 Aug 2014 12:15:38 +0000
(08:15 -0400)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:31:45 +0000
(19:31 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=734269
gst-libs/gst/gl/gstglupload.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglupload.c
b/gst-libs/gst/gl/gstglupload.c
index 1c2346d3b2293984bfc3e562f74c0e3ebf4166a7..cc696bd7ea6772d0561f3845a0f713775c4bcb8a 100644
(file)
--- a/
gst-libs/gst/gl/gstglupload.c
+++ b/
gst-libs/gst/gl/gstglupload.c
@@
-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);