Gst.Message.new_duration_changed
function new_duration_changed(src:Gst.Object):Gst.Message { // Gjs wrapper for gst_message_new_duration_changed() }
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.
- src
The object originating the message.
- Returns
The new duration-changed message. MT safe.