navigation: sprinkle some since markers and add new API to .def file

https://bugzilla.gnome.org/show_bug.cgi?id=747245
This commit is contained in:
Tim-Philipp Müller 2015-04-29 15:30:02 +01:00
parent bba3f57c8b
commit 44e571c5e9
3 changed files with 9 additions and 3 deletions

View file

@ -564,6 +564,8 @@ gst_navigation_message_parse_mouse_over (GstMessage * message,
* #GST_NAVIGATION_MESSAGE_EVENT.
*
* Returns: The new #GstMessage.
*
* Since: 1.6
*/
GstMessage *
gst_navigation_message_new_event (GstObject * src, GstEvent * event)
@ -582,14 +584,16 @@ gst_navigation_message_new_event (GstObject * src, GstEvent * event)
/**
* gst_navigation_message_parse_event:
* @message: A #GstMessage to inspect.
* @event: (transfer full): a pointer to a #GstEvent to receive the contained
* navigation event.
* @event: (out) (transfer full): a pointer to a #GstEvent to receive the
* contained navigation event.
*
* Parse a #GstNavigation message of type #GST_NAVIGATION_MESSAGE_EVENT
* and extract contained #GstEvent. The caller must unref the @event when done
* with it.
*
* Returns: %TRUE if the message could be successfully parsed. %FALSE if not.
*
* Since: 1.6
*/
gboolean
gst_navigation_message_parse_event (GstMessage * message, GstEvent ** event)

View file

@ -179,7 +179,7 @@ gboolean gst_navigation_query_parse_angles (GstQuery *query, guint
* feature (such as a multiangle DVD) change - either angles have appeared or
* disappeared.
* @GST_NAVIGATION_MESSAGE_EVENT: Sent when a navigation event was not handled
* by any element in the pipeline.
* by any element in the pipeline (Since 1.6)
*
* A set of notifications that may be received on the bus when navigation
* related status changes.

View file

@ -30,8 +30,10 @@ EXPORTS
gst_navigation_message_get_type
gst_navigation_message_new_angles_changed
gst_navigation_message_new_commands_changed
gst_navigation_message_new_event
gst_navigation_message_new_mouse_over
gst_navigation_message_parse_angles_changed
gst_navigation_message_parse_event
gst_navigation_message_parse_mouse_over
gst_navigation_message_type_get_type
gst_navigation_query_get_type