projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7229172
)
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
Matthew Waters
<ystreet00@gmail.com>
Wed, 6 Aug 2014 04:51:59 +0000
(14:51 +1000)
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
ed54dfe
..
133fdd5
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);