diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2019-01-24 06:47:49 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-01-31 09:26:55 -0200 |
commit | 03535e7a3a9937da99ee18304309e0574d2504fc (patch) | |
tree | d6fe727fbb0b3905844e7fd1aac29bb19220c9d6 /drivers/staging/media | |
parent | 04bde67410bfff52958298e831fc5c7db04abe2d (diff) | |
download | linux-03535e7a3a9937da99ee18304309e0574d2504fc.tar.bz2 |
media: vb2: vb2_find_timestamp: drop restriction on buffer state
There really is no reason why vb2_find_timestamp can't just find
buffers in any state. Drop that part of the test.
This also means that vb->timestamp should only be set to 0 when
the driver doesn't copy timestamps.
This change allows for more efficient pipelining (i.e. you can use
a buffer for a reference frame even when it is queued).
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/staging/media')
0 files changed, 0 insertions, 0 deletions