gstreamermm 0.10.10.1
|
A step start message. More...
Public Member Functions | |
MessageStepStart (GstMessage* castitem) | |
void | parse (bool& active, Gst::Format& format, guint64& amount, double& rate, bool&flush, bool& intermediate) const |
Extract the values of the step start message. | |
guint64 | parse () const |
Extracts the amount of the step start message. | |
bool | parse_active () const |
Extracts the active flag of the step start message. | |
Gst::Format | parse_format () const |
Extracts the format of the step start message. | |
double | parse_rate () const |
Extracts the rate of the step start message. | |
bool | parse_flush () const |
Extracts the flush flag of the step start message. | |
bool | parse_intermediate () const |
Extracts the intermediate flag of the step start message. | |
Static Public Member Functions | |
static Glib::RefPtr< Gst::Message > | create (const Glib::RefPtr< Gst::Object >& src, bool active, Gst::Format format, guint64 amount, double rate, bool flush, bool intermediate) |
Create a step start message. |
A step start message.
See create() for more details.
Gst::MessageStepStart::MessageStepStart | ( | GstMessage * | castitem | ) | [explicit] |
static Glib::RefPtr<Gst::Message> Gst::MessageStepStart::create | ( | const Glib::RefPtr< Gst::Object >& | src, |
bool | active, | ||
Gst::Format | format, | ||
guint64 | amount, | ||
double | rate, | ||
bool | flush, | ||
bool | intermediate | ||
) | [static] |
Create a step start message.
This message is posted by elements when they accept or activate a new step event for amount in format.
active is set to false when the element accepted the new step event and has queued it for execution in the streaming threads.
active is set to true when the element has activated the step operation and is now ready to start executing the step in the streaming thread. After this message is emited, the application can queue a new step operation in the element.
src | The object originating the message. |
active | If the step is active or queued. |
format | The format of amount. |
amount | The amount of stepped data. |
rate | The rate of the stepped amount. |
flush | Is this an flushing step. |
intermediate | Is this an intermediate step. |
Since 0.10.24.
void Gst::MessageStepStart::parse | ( | bool & | active, |
Gst::Format& | format, | ||
guint64 & | amount, | ||
double & | rate, | ||
bool & | flush, | ||
bool & | intermediate | ||
) | const |
Extract the values of the step start message.
MT safe.
active | Result location for the active flag. |
format | Result location for the format. |
amount | Result location for the amount. |
rate | Result location for the rate. |
flush | Result location for the flush flag. |
intermediate | Result location for the intermediate flag. |
Since 0.10.24.
guint64 Gst::MessageStepStart::parse | ( | ) | const |
Extracts the amount of the step start message.
bool Gst::MessageStepStart::parse_active | ( | ) | const |
Extracts the active flag of the step start message.
bool Gst::MessageStepStart::parse_flush | ( | ) | const |
Extracts the flush flag of the step start message.
Gst::Format Gst::MessageStepStart::parse_format | ( | ) | const |
Extracts the format of the step start message.
bool Gst::MessageStepStart::parse_intermediate | ( | ) | const |
Extracts the intermediate flag of the step start message.
double Gst::MessageStepStart::parse_rate | ( | ) | const |
Extracts the rate of the step start message.