waylandsink/waylandpool: refactor code
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Thu, 13 Feb 2014 09:29:08 +0000 (10:29 +0100)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Tue, 17 Jun 2014 11:51:21 +0000 (13:51 +0200)
commitd1480124a76e3839c1d1b7d74016fa554a23229b
tree1350d61f6410c1f54c52b86c61da7baafe19c37e
parentf6e72c8725bb80519d219be0fd0080f617ca27f3
waylandsink/waylandpool: refactor code

* make use of GstBufferPool::start/stop functions to allocate/deallocate memory
* get rid of struct shm_pool and do all operations cleanly inside WaylandBufferPool
* store a GstVideoInfo during configuration instead of the width & height
  and use the stride from the video info instead of hardcoding its value
ext/wayland/waylandpool.c
ext/wayland/waylandpool.h