gstreamermm
0.10.11
|
A new clock message. More...
Public Member Functions | |
MessageNewClock (GstMessage* castitem) | |
Glib::RefPtr< Gst::Clock > | parse () |
Extracts and returns the new clock from the Gst::MessageNewClock. | |
Glib::RefPtr< const Gst::Clock > | parse () const |
Extracts and returns the new clock from the Gst::MessageNewClock. | |
Static Public Member Functions | |
static Glib::RefPtr < Gst::MessageNewClock > | create (const Glib::RefPtr< Gst::Object >& src, const Glib::RefPtr< Gst::Clock >& clock) |
Create a new clock message. |
A new clock message.
See create() for more details.
Gst::MessageNewClock::MessageNewClock | ( | GstMessage * | castitem | ) | [explicit] |
static Glib::RefPtr<Gst::MessageNewClock> 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. |
Extracts and returns the new clock from the Gst::MessageNewClock.
The clock object returned remains valid until the message is freed.
MT safe.
Glib::RefPtr<const Gst::Clock> Gst::MessageNewClock::parse | ( | ) | const |
Extracts and returns the new clock from the Gst::MessageNewClock.
The clock object returned remains valid until the message is freed.
MT safe.