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:
0e29906
)
glstereomix: remove redundant initialization
author
Luis de Bethencourt
<luis@debethencourt.com>
Wed, 29 Jul 2015 16:48:58 +0000
(17:48 +0100)
committer
Luis de Bethencourt
<luis@debethencourt.com>
Wed, 29 Jul 2015 16:49:01 +0000
(17:49 +0100)
v is initialized in the for loop init, no need to do it twice. Removing
first initialization.
ext/gl/gstglstereomix.c
patch
|
blob
|
history
diff --git
a/ext/gl/gstglstereomix.c
b/ext/gl/gstglstereomix.c
index 1422823f773a16ef9c49c46b9c2eb2b6b53cabf4..731569a67b311816b5fa03fc18941bdf803dd42c 100644
(file)
--- a/
ext/gl/gstglstereomix.c
+++ b/
ext/gl/gstglstereomix.c
@@
-574,7
+574,6
@@
gst_gl_stereo_mix_process_frames (GstGLStereoMix * mixer, GPtrArray * frames)
return FALSE;
converted_buffer = mixer->primary_out;
- v = 0;
n = gst_buffer_n_memory (converted_buffer);
g_assert (n == GST_VIDEO_INFO_N_PLANES (out_info) * views);
for (v = 0; v < views; v++) {