v4l2videoenc: activate capture pool after output pool
authorMarian Mihailescu <mihailescu2m@gmail.com>
Wed, 27 Jun 2018 13:46:00 +0000 (13:46 +0000)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 27 Jun 2018 20:28:10 +0000 (16:28 -0400)
commit58e9341384faa01073c8b3c1899f0f50defc124d
tree488574111f5f529273a9c2ff27a071f07675f695
parent238a37295ca1b033c38f1b78c9e0a5a8f250006c
v4l2videoenc: activate capture pool after output pool

Some drivers need output buffers set before capture buffers.
CODA cannot set output format if capture is streaming.
Exynos MFC fails on output STREAMON if capture is already streaming.
This patch delays capture activation until output is configured and
streaming

https://bugzilla.gnome.org/show_bug.cgi?id=796693
sys/v4l2/gstv4l2videoenc.c