v4l2videodec: Keep part of the input buffer
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 7 Jun 2016 20:42:09 +0000 (16:42 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 7 Jun 2016 21:03:40 +0000 (17:03 -0400)
commit462800e9c632fe28bcce2d5523e3b05090052057
tree894402231bafd4eeb5463d1b902b8cf3fc7fd608
parenta0a590369a453687878d267e874c536ee28c2131
v4l2videodec: Keep part of the input buffer

Instead of completely getting rid of the input buffer, copy
the metadata, the flags and the timestamp into an empty buffer.
This way the decoder base class can copy that information again
to the output buffer.

https://bugzilla.gnome.org/show_bug.cgi?id=758424
sys/v4l2/gstv4l2videodec.c