#include <message.h>
Public Member Functions | |
MessageNewClock (GstMessage* castitem) | |
Glib::RefPtr<Gst::Clock> | parse () |
Extracts and returns the new clock from the Gst::MessageNewClock. | |
Static Public Member Functions | |
static Glib::RefPtr<Gst::Message> | create (const Glib::RefPtr<Gst::Object>& src, const Glib::RefPtr<Gst::Clock>& clock) |
Create a new clock message. |
See create() for more details.
Gst::MessageNewClock::MessageNewClock | ( | GstMessage * | castitem | ) | [explicit] |
static Glib::RefPtr<Gst::Message> Gst::MessageNewClock::create | ( | const Glib::RefPtr<Gst::Object>& | src, | |
const Glib::RefPtr<Gst::Clock>& | clock | |||
) | [static] |
Create a new clock message.
This message is posted whenever the pipeline selectes a new clock for the pipeline.
src | The object originating the message. | |
clock | The new selected clock. |
Glib::RefPtr<Gst::Clock> Gst::MessageNewClock::parse | ( | ) |
Extracts and returns the new clock from the Gst::MessageNewClock.
The clock object returned remains valid until the message is freed.
MT safe.