summaryrefslogtreecommitdiffstats
path: root/lib/errseq.c
diff options
context:
space:
mode:
authorHans Verkuil2019-01-24 09:47:49 +0100
committerMauro Carvalho Chehab2019-01-31 12:26:55 +0100
commit03535e7a3a9937da99ee18304309e0574d2504fc (patch)
treed6fe727fbb0b3905844e7fd1aac29bb19220c9d6 /lib/errseq.c
parentmedia: mtk-vcodec: Using common interface to manage vdec/venc clock (diff)
downloadkernel-qcow2-linux-03535e7a3a9937da99ee18304309e0574d2504fc.tar.gz
kernel-qcow2-linux-03535e7a3a9937da99ee18304309e0574d2504fc.tar.xz
kernel-qcow2-linux-03535e7a3a9937da99ee18304309e0574d2504fc.zip
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 'lib/errseq.c')
0 files changed, 0 insertions, 0 deletions