xvimagesink: fix navigation event leak when not handled
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 4 May 2015 16:00:18 +0000 (18:00 +0200)
committerThiago Santos <thiagoss@osg.samsung.com>
Tue, 5 May 2015 16:54:08 +0000 (13:54 -0300)
commit9d85e23c3d960724a551e057cf412989174ee875
treef1bd09c4ed56a5edae50e59135cefa3005e591f7
parentf90bb8140ddbf86e73771946d6c5968b56e0caef
xvimagesink: fix navigation event leak when not handled

gst_navigation_message_new_event() is *not* consuming the event so we should
always drop our extra reference.

https://bugzilla.gnome.org/show_bug.cgi?id=748903
sys/xvimage/xvimagesink.c