/**
- * gst_navigation_event_parse_state:
+ * gst_navigation_event_parse_modifier_state:
* @event: The #GstEvent to modify.
* @state: a bit-mask representing the state of the modifier keys (e.g. Control,
* Shift and Alt).
* Since: 1.22
*/
gboolean
-gst_navigation_event_parse_state (GstEvent * event,
+gst_navigation_event_parse_modifier_state (GstEvent * event,
GstNavigationModifierType * state)
{
GstNavigationEventType e_type;
GstEvent *event);
GST_VIDEO_API
-gboolean gst_navigation_event_parse_state (GstEvent *event,
- GstNavigationModifierType *state);
+gboolean gst_navigation_event_parse_modifier_state (GstEvent *event,
+ GstNavigationModifierType *state);
G_END_DECLS
&navtest->mousey);
GST_DEBUG ("received mouse-move event at %f,%f", navtest->mousex,
navtest->mousey);
- gst_navigation_event_parse_state (event, &navtest->modifiers);
+ gst_navigation_event_parse_modifier_state (event,
+ &navtest->modifiers);
break;
}
case GST_NAVIGATION_EVENT_MOUSE_BUTTON_PRESS:{
case GST_NAVIGATION_EVENT_KEY_RELEASE:{
const char *name;
- gst_navigation_event_parse_state (event, &navtest->modifiers);
+ gst_navigation_event_parse_modifier_state (event,
+ &navtest->modifiers);
gst_navigation_event_parse_key_event (event, &name);
GST_DEBUG ("received %s event for key \"%s\"",
type == GST_NAVIGATION_EVENT_KEY_PRESS ? "key-press" :