diff --git a/ChangeLog b/ChangeLog index dc55b618d2..216b2bd896 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-08-27 Stefan Kost + + * gst/gstmessage.c: + * gst/gstmessage.h: + doc fixes + 2005-08-27 Stefan Kost * gst/base/gstbasetransform.c: (gst_base_transform_transform_size): diff --git a/gst/gstmessage.c b/gst/gstmessage.c index 599c508f95..bc9a5614d6 100644 --- a/gst/gstmessage.c +++ b/gst/gstmessage.c @@ -175,6 +175,7 @@ gst_message_new (GstMessageType type, GstObject * src) /** * gst_message_new_eos: + * @src: The object originating the message. * * Create a new eos message. This message is generated and posted in * the sink elements of a GstBin. The bin will only forward the EOS @@ -371,6 +372,7 @@ gst_message_new_segment_done (GstObject * src, GstClockTime timestamp) /** * gst_message_new_custom: + * @type: The #GstMessageType to distinguish messages * @src: The object originating the message. * @structure: The structure for the message. The message will take ownership of * the structure. diff --git a/gst/gstmessage.h b/gst/gstmessage.h index 47f34c1a34..3495777662 100644 --- a/gst/gstmessage.h +++ b/gst/gstmessage.h @@ -145,6 +145,21 @@ GstMessage * gst_message_new_segment_done (GstObject * src, GstClockTime timest GstMessage * gst_message_new_custom (GstMessageType type, GstObject * src, GstStructure * structure); + +/** + * gst_message_new_application: + * @src: The object originating the message. + * @str: The structure for the message. The message will take ownership of + * the structure. + * + * Create a new application-typed message. This can be used for anything not + * handled by other message-specific functions to pass a message to the + * app. The structure field can be NULL. + * + * Returns: The new message. + * + * MT safe. + */ #define gst_message_new_application(src, str) \ gst_message_new_custom (GST_MESSAGE_APPLICATION, src, str)