diff options
author | Hans Verkuil <[email protected]> | 2019-01-24 06:47:49 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2019-01-31 09:26:55 -0200 |
commit | 03535e7a3a9937da99ee18304309e0574d2504fc (patch) | |
tree | d6fe727fbb0b3905844e7fd1aac29bb19220c9d6 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 04bde67410bfff52958298e831fc5c7db04abe2d (diff) |
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 <[email protected]>
Reviewed-by: Tomasz Figa <[email protected]>
Reviewed-by: Alexandre Courbot <[email protected]>
Reviewed-by: Paul Kocialkowski <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions