A clock lost message. More...
Public Member Functions | |
MessageClockLost (GstMessage* castitem) | |
Glib::RefPtr< Gst::Clock > | parse () |
Extracts and returns the lost clock from the Gst::MessageClockLost. | |
Glib::RefPtr< const Gst::Clock > | parse () const |
Extracts and returns the lost clock from the Gst::MessageClockLost. | |
Static Public Member Functions | |
static Glib::RefPtr< Gst::Message > | create (const Glib::RefPtr< Gst::Object >& src, const Glib::RefPtr< Gst::Clock >& clock) |
Create a clock lost message. |
A clock lost message.
See create() for more details.
Gst::MessageClockLost::MessageClockLost | ( | GstMessage * | castitem ) | [explicit] |
static Glib::RefPtr<Gst::Message> Gst::MessageClockLost::create | ( | const Glib::RefPtr< Gst::Object >& | src, |
const Glib::RefPtr< Gst::Clock >& | clock | ||
) | [static] |
Create a clock lost message.
This message is posted whenever the clock is not valid anymore. If this message is posted by the pipeline, the pipeline will select a new clock again when it goes to PLAYING. It might therefore be needed to set the pipeline to PAUSED and PLAYING again.
src | The object originating the message. |
clock | The clock that was lost. |
Glib::RefPtr<const Gst::Clock> Gst::MessageClockLost::parse | ( | ) | const |
Extracts and returns the lost clock from the Gst::MessageClockLost.
The clock object returned remains valid until the message is freed.
MT safe.
Glib::RefPtr<Gst::Clock> Gst::MessageClockLost::parse | ( | ) |
Extracts and returns the lost clock from the Gst::MessageClockLost.
The clock object returned remains valid until the message is freed.
MT safe.