v4l2bufferpool: Copy flags and timestamp when importing
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 1 Aug 2017 13:22:43 +0000 (09:22 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 1 Aug 2017 13:48:46 +0000 (09:48 -0400)
commitba8aa440bb5100e00d9ba85b1a420c0b9c6d352f
tree854ef906e04732120044d61bfd97ab0c605b3028
parent2c7dfff047716d57001149e6ae28fbda6dd90c55
v4l2bufferpool: Copy flags and timestamp when importing

Whenever we import from downstream pool (userptr or dmabuf-import), we
should copy over the flags and timestamp, otherwise downstream will not
get proper synchronization or will not be able to notice frames that has
corruption in it.

https://bugzilla.gnome.org/show_bug.cgi?id=785680
sys/v4l2/gstv4l2bufferpool.c