Message.newQos

gst.message.Message newQos(gst.object.ObjectWrap src, bool live, ulong runningTime, ulong streamTime, ulong timestamp, ulong duration)

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.

Parameters

srcThe object originating the message.
liveif the message was generated by a live element
runningTimethe running time of the buffer that generated the message
streamTimethe stream time of the buffer that generated the message
timestampthe timestamps of the buffer that generated the message
durationthe duration of the buffer that generated the message

Returns

The new qos message.

MT safe.