message: Fix documentation for gst_message_new_duration()
authorArun Raghavan <arun@arunraghavan.net>
Thu, 15 Sep 2016 12:08:49 +0000 (17:38 +0530)
committerArun Raghavan <arun@arunraghavan.net>
Thu, 15 Sep 2016 12:09:32 +0000 (17:39 +0530)
Seems like there was some documentation left over from when this was
gst_message_new_duration().

gst/gstmessage.c

index 6c91f5e..815485f 100644 (file)
@@ -1007,10 +1007,7 @@ gst_message_new_element (GstObject * src, GstStructure * structure)
  * Create a new duration changed message. This message is posted by elements
  * that know the duration of a stream when the duration changes. This message
  * is received by bins and is used to calculate the total duration of a
- * pipeline. Elements may post a duration message with a duration of
- * GST_CLOCK_TIME_NONE to indicate that the duration has changed and the 
- * cached duration should be discarded. The new duration can then be 
- * retrieved via a query.
+ * pipeline.
  *
  * Returns: (transfer full): The new duration-changed message.
  *