[Bug 689809] osxvideosink: inconsistent keyboard navigation events

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jan 16 05:21:05 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=689809
  GStreamer | gst-plugins-good | 0.10.31

--- Comment #4 from Alexey Chernov <4ernov at gmail.com> 2013-01-16 13:21:00 UTC ---
Yes, sure, I'll change return type.

No, I am completely not sure that there's no system conversion functions,
there's apparently several ones, so maybe someone would propose better way to
do it.

The main problem is that GstNavigation expected to provide platform-independent
string on keypress/keyrelease. If we get x(v)imagesink as a reference, it
separately sends modifier keys (as to ctrl+c it will return ctrl-press while
pressing c would be grabbed by console to exit the program), all the alpha keys
are only lowercase, there're some standard names for Enter, Esc and so on.
What's more, the meaning for some keys really depends on OS (like Alt and
Option). So I think it would be better to have some common function somewhere
in GstNavigation interface to convert scan-code to GstNavigation-related
platform-independent string and then all this code will go to this function.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list