Message.this

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

src ObjectGst

The object originating the message.

live bool

if the message was generated by a live element

runningTime ulong

the running time of the buffer that generated the message

streamTime ulong

the stream time of the buffer that generated the message

timestamp ulong

the timestamps of the buffer that generated the message

duration ulong

the duration of the buffer that generated the message

Return Value

The new qos message.

MT safe.

Throws

ConstructionException GTK+ fails to create the object.