[Bug 703486] Implement GstNavigation interface in glimagesink

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jul 6 08:26:17 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=703486
  GStreamer | gst-plugins-gl | git

--- Comment #19 from Sebastian Dröge (slomo) <slomo at coaxion.net> 2014-07-06 15:26:16 UTC ---
Review of attachment 279919:
 --> (https://bugzilla.gnome.org/review?bug=703486&attachment=279919)

::: gst-libs/gst/gl/x11/gstglwindow_x11.c
@@ +591,3 @@
+        GST_DEBUG ("input event mouse button %d pressed over window at %d,%d",
+            event.xbutton.button, event.xbutton.x, event.xbutton.y);
+        g_signal_emit_by_name (window, "mouse-event",

Don't emit by name but use the ids you got from g_signal_new(). As they are
private to the base class, add functions to the base class:
gst_gl_window_send_mouse_event();
gst_gl_window_send_key_event();

or somtehing like that. Which mirrors the navigation interface API again

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