[Bug 759869] New: glimagesink navigation events are not posted on the bus

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Dec 25 14:15:43 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=759869

            Bug ID: 759869
           Summary: glimagesink navigation events are not posted on the
                    bus
    Classification: Platform
           Product: GStreamer
           Version: 1.6.2
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: florent.thiery at ubicast.eu
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

gst-launch-1.0 videotestsrc ! glimagesink -m
<click/press keys while sink in focus> -- nothing

Whereas
gst-launch-1.0 videotestsrc ! xvimagesink -m
<click/press keys while sink in focus>
Got message #32 from element "xvimagesink0" (element): GstNavigationMessage,
type=(string)event, event=(GstEvent)NULL;

It seems to be quite recent as described in #747245 ; what i do not understand
is that glimagesink code is supposed to push the key events in 

static void
gst_glimage_sink_key_event_cb (GstGLWindow * window, char *event_name, char
    *key_string, GstGLImageSink * gl_sink)
{
  GST_DEBUG_OBJECT (gl_sink, "glimagesink event %s key %s pressed", event_name,
      key_string);
  gst_navigation_send_key_event (GST_NAVIGATION (gl_sink),
      event_name, key_string);
}

Debugging confirms that the cb is called:
LANG=C GST_DEBUG=glimagesink:5 gst-launch-1.0 videotestsrc ! glimagesink -m
0:00:00.923722580 15729      0x19fe770 DEBUG            glimagesink
gstglimagesink.c:721:gst_glimage_sink_mouse_event_cb:<sink> glimagesink event
mouse-move at 217, 183

Am i missing something ?

-- 
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