[Spice-devel] [virtio-dev] Re: [PATCH v2 1/1] virtio-video: Add virtio video device specification
Gerd Hoffmann
kraxel at redhat.com
Thu Jan 9 13:40:52 UTC 2020
Hi,
> Regarding re-using, the driver can simply re-queue buffers returned by
> the device. If the device needs a buffer as reference frame, it must
> not return the buffer.
Ok, that'll work.
> I'll describe this rule in the next version of the patch.
Good. You should also add a note about ordering. If the device returns
the buffers as soon as they are no longer needed for decoding they
might be completed out-of-order, specifically B-Frames might complete
before the reference I/P frame. Is the device allowed to do that or
should it complete the buffers in playback order?
cheers,
Gerd
More information about the Spice-devel
mailing list