From 44e571c5e9d599c8a52e41164e77509993db5664 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 29 Apr 2015 15:30:02 +0100 Subject: [PATCH] navigation: sprinkle some since markers and add new API to .def file https://bugzilla.gnome.org/show_bug.cgi?id=747245 --- gst-libs/gst/video/navigation.c | 8 ++++++-- gst-libs/gst/video/navigation.h | 2 +- win32/common/libgstvideo.def | 2 ++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gst-libs/gst/video/navigation.c b/gst-libs/gst/video/navigation.c index a034a07..3eb97dc 100644 --- a/gst-libs/gst/video/navigation.c +++ b/gst-libs/gst/video/navigation.c @@ -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) diff --git a/gst-libs/gst/video/navigation.h b/gst-libs/gst/video/navigation.h index 4b45bcb..b69c70c 100644 --- a/gst-libs/gst/video/navigation.h +++ b/gst-libs/gst/video/navigation.h @@ -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. diff --git a/win32/common/libgstvideo.def b/win32/common/libgstvideo.def index 14e512b..568415b 100644 --- a/win32/common/libgstvideo.def +++ b/win32/common/libgstvideo.def @@ -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 -- 2.7.4