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:
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
1422823
..
731569a
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++) {