Gst.Message.new_qos
function new_qos(src:Gst.Object, live:Boolean, running_time:Number, stream_time:Number, timestamp:Number, duration:Number):Gst.Message { // Gjs wrapper for gst_message_new_qos() }
A QOS message is posted on the bus whenever an element decides to drop a buffer because of QoS reasons or whenever it changes its processing strategy because of QoS reasons (quality adjustments such as processing at lower accuracy).
This message can be posted by an element that performs synchronisation against the clock (live) or it could be dropped by an element that performs QoS because of QOS events received from a downstream element (!live).
running_time, stream_time, timestamp, duration should be set to the respective running-time, stream-time, timestamp and duration of the (dropped) buffer that generated the QoS event. Values can be left to GST_CLOCK_TIME_NONE when unknown.
- src
The object originating the message.
- live
if the message was generated by a live element
- running_time
the running time of the buffer that generated the message
- stream_time
the stream time of the buffer that generated the message
- timestamp
the timestamps of the buffer that generated the message
- duration
the duration of the buffer that generated the message
- Returns
The new qos message. MT safe.