summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJean-Christophe Trotin <jean-christophe.trotin@st.com>2017-01-16 15:40:43 +0100
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2017-01-16 10:19:34 -0500
commit1c2e2d83ce6e488b8387cf90902d7ccfbf41a46e (patch)
treed32fd3235daddafc2d9710f29a3b5125c6db1a35 /sys
parent2b80cd14b0a65959a1d109901451d822e4bb513b (diff)
v4l2bufferpool: remove duplicated line of code
https://bugzilla.gnome.org/show_bug.cgi?id=777330
Diffstat (limited to 'sys')
-rw-r--r--sys/v4l2/gstv4l2bufferpool.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c
index 470a07ef8..7a1b7cc0a 100644
--- a/sys/v4l2/gstv4l2bufferpool.c
+++ b/sys/v4l2/gstv4l2bufferpool.c
@@ -1868,7 +1868,6 @@ gst_v4l2_buffer_pool_process (GstV4l2BufferPool * pool, GstBuffer ** buf)
GST_LOG_OBJECT (pool, "processing buffer %i from our pool", index);
- index = group->buffer.index;
if (pool->buffers[index] != NULL) {
GST_LOG_OBJECT (pool, "buffer %i already queued, copying", index);
goto copying;