A step done message. More...
Public Member Functions | |
MessageStepDone (GstMessage* castitem) | |
void | parse (Gst::Format& format, guint64& amount, double& rate, bool& flush, bool& intermediate, guint64& duration, bool& eos) const |
Extract the values of the step done message. | |
guint64 | parse () const |
Extracts the duration of the step done message. | |
Gst::Format | parse_format () const |
Extracts the format of the step done message. | |
guint64 | parse_amount () const |
Extracts the amount of the step done message. | |
double | parse_rate () const |
Extracts the rate of the step done message. | |
bool | parse_flush () const |
Extracts the flush flag of the step done message. | |
bool | parse_intermediate () const |
Extracts the intermediate flag of the step done message. | |
bool | parse_eos () const |
Extracts the eos flag of the step done message. | |
Static Public Member Functions | |
static Glib::RefPtr< Gst::Message > | create (const Glib::RefPtr< Gst::Object >& src, Gst::Format format, guint64 amount, double rate, bool flush, bool intermediate, guint64 duration, bool eos) |
Create a step done message. |
A step done message.
See create() for more details.
Gst::MessageStepDone::MessageStepDone | ( | GstMessage * | castitem ) | [explicit] |
static Glib::RefPtr<Gst::Message> Gst::MessageStepDone::create | ( | const Glib::RefPtr< Gst::Object >& | src, |
Gst::Format | format, | ||
guint64 | amount, | ||
double | rate, | ||
bool | flush, | ||
bool | intermediate, | ||
guint64 | duration, | ||
bool | eos | ||
) | [static] |
Create a step done message.
This message is posted by elements when they complete a part, when intermediate set to true, or a complete step operation.
duration will contain the amount of time (in Gst::FORMAT_TIME) of the stepped amount of media in format format.
src | The object originating the message. |
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. |
duration | The duration of the data. |
eos | The step caused EOS. |
Since 0.10.24.
void Gst::MessageStepDone::parse | ( | Gst::Format& | format, |
guint64 & | amount, | ||
double & | rate, | ||
bool & | flush, | ||
bool & | intermediate, | ||
guint64 & | duration, | ||
bool & | eos | ||
) | const |
Extract the values of the step done message.
MT safe.
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. |
duration | Result location for the duration. |
eos | Result location for the EOS flag. |
Since 0.10.24.
guint64 Gst::MessageStepDone::parse | ( | ) | const |
Extracts the duration of the step done message.
guint64 Gst::MessageStepDone::parse_amount | ( | ) | const |
Extracts the amount of the step done message.
bool Gst::MessageStepDone::parse_eos | ( | ) | const |
Extracts the eos flag of the step done message.
bool Gst::MessageStepDone::parse_flush | ( | ) | const |
Extracts the flush flag of the step done message.
Gst::Format Gst::MessageStepDone::parse_format | ( | ) | const |
Extracts the format of the step done message.
bool Gst::MessageStepDone::parse_intermediate | ( | ) | const |
Extracts the intermediate flag of the step done message.
double Gst::MessageStepDone::parse_rate | ( | ) | const |
Extracts the rate of the step done message.