gtk: Translate navigation events coordinates
authorBastien Nocera <hadess@hadess.net>
Wed, 5 May 2021 12:28:15 +0000 (14:28 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 6 May 2021 01:18:18 +0000 (01:18 +0000)
commit9cd6d02cfff5239e672c7b83f349dd47b5396e72
treecf00ef34cbe283a2bcc200ace41f1bacea067d59
parent604278a1947be5a14e4ec1eedad10c7c2a3c4cea
gtk: Translate navigation events coordinates

If the application passed down some pointer coordinates, translate those
from display coordinates to stream coordinates, so things work as
expected even if the video is resized.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/974>
ext/gtk/gstgtkbasesink.c