On Thu, Jan 24, 2019 at 5:47 PM Hans Verkuil <hverkuil@xxxxxxxxx> wrote: > > 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@xxxxxxxxx> Reviewed-by: Alexandre Courbot <acourbot@xxxxxxxxxxxx>