v4l2videodec: Add dynamic resolution change support
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 13 Dec 2017 20:23:46 +0000 (20:23 +0000)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 8 Jan 2018 22:16:22 +0000 (17:16 -0500)
commit97985a335c787f76ebdbb0702dc7b0b5ee6c93b6
tree1c027a9aa08e24e980094e94246f25724a6c3fac
parent5efc48977e1777feec9614f31da88e1c84a2e22e
v4l2videodec: Add dynamic resolution change support

This implements a "big hammer" reallocation method. We effectively
drain and stop both side of the decoder and restart. This though is
the most generic method. This change should enable on most drivers
adaptive streaming.

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