base:navigation: Cleanup navigation key modifiers enum
authorThibault Saunier <tsaunier@igalia.com>
Tue, 13 Dec 2022 11:23:56 +0000 (12:23 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 15 Dec 2022 16:47:13 +0000 (16:47 +0000)
commitf7b342f1dd73eb4d513f344c6e99e6686425bcc4
treeb0ad0108410247e590c601b37a94f03dc04d1e65
parente59b3c93c75c5d35a9f4f9a5d6fb806c7b506090
base:navigation: Cleanup navigation key modifiers enum

We were exposing the 'ALT' modifier as if we were guaranteeing its
accuracy but truth is we were only exposing configuration dependent
values.

Make the API simpler for now, the same way as Gtk3 was exposing it, and
when we have time to guarantee more values by making them take backends
configuration into account, we will expose those values in a accurate
way.

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1402

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3565>
subprojects/gst-docs/symbols/symbol_index.json
subprojects/gst-plugins-bad/ext/wpe/gstwpevideosrc.cpp
subprojects/gst-plugins-base/gst-libs/gst/video/navigation.h
subprojects/gst-plugins-good/ext/qt/qtitem.cc
subprojects/gst-plugins-good/ext/qt6/qt6glitem.cc