summaryrefslogtreecommitdiff
path: root/git.mk
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2015-05-07 11:28:15 +0200
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2015-05-18 15:25:52 +0200
commit70eff01d36a2870cbf06ffb91c2a941e8cb6b804 (patch)
tree9c542c50cd32414985d7fd4edb5826586e5f21c2 /git.mk
parent11b9260b6c40d9a87b4e30aed78d2583f306f0ff (diff)
downloadgst-vaapi-70eff01d36a2870cbf06ffb91c2a941e8cb6b804.tar.gz
wayland: sync() when destroy()
Before pushing a the new frame, the render() method calls sync() to flush the pending frames. Nonetheless, the last pushed frame never gets rendered, leading to a memory leak too. This patch calls sync() in the destroy() to flush the pending frames before destroying the window. Also a is_cancelled flag is added. This flag tells to not flush the event queue again since the method failed previously or were cancelled by the user. https://bugzilla.gnome.org/show_bug.cgi?id=749078
Diffstat (limited to 'git.mk')
0 files changed, 0 insertions, 0 deletions