On Wed, Feb 13, 2019 at 2:53 PM Alexandre Courbot <acourbot@xxxxxxxxxxxx> wrote: > [snip] > +Buffers used as reference frames can be queued back to the ``CAPTURE`` queue as > +soon as all the frames they are affecting have been queued to the ``OUTPUT`` > +queue. The driver will refrain from using the reference buffer as a decoding > +target until all the frames depending on it are decoded. Just want to highlight this part in order to make sure that this is indeed what we agreed on. The recent changes to vb2_find_timestamp() suggest this, but maybe I misunderstood the intent. It makes the kernel responsible for tracking referenced buffers and not using them until all the dependent frames are decoded, something the client could also do. Thanks! Alex.