diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-08-22 20:30:09 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-09-13 16:38:29 +0200 |
commit | d26cba4cb91c66cfe38970c5a17e5106caa6fbc9 (patch) | |
tree | 7c997264c260f46ce9d7f98e2cbebe23da8ca7d3 | |
parent | c73cf220298607720928dbe973e499fec0936d4a (diff) | |
download | gst-plugins-good-d26cba4cb91c66cfe38970c5a17e5106caa6fbc9.tar.gz gst-plugins-good-d26cba4cb91c66cfe38970c5a17e5106caa6fbc9.tar.xz |
wait for mmaped buffers, when needed
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | sys/v4l2/gstv4l2bufferpool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c index 7579befd7..5cc44adf4 100644 --- a/sys/v4l2/gstv4l2bufferpool.c +++ b/sys/v4l2/gstv4l2bufferpool.c @@ -1309,7 +1309,7 @@ gst_v4l2_buffer_pool_process (GstV4l2BufferPool * pool, GstBuffer * buf) if (!start_streaming (pool)) goto start_failed; - if (pool->num_queued == pool->num_allocated) { + if (pool->num_queued > pool->obj->min_queued) { GstBuffer *out; /* all buffers are queued, try to dequeue one and release it back * into the pool so that _acquire can get to it again. */ |