#include <message.h>

Public Member Functions | |
| MessageRequestState (GstMessage* castitem) | |
| Gst::State | parse () const |
| Extract the requested state from the request_state message. | |
Static Public Member Functions | |
| static Glib::RefPtr<Gst::Message> | create (const Glib::RefPtr<Gst::Object>& src, Gst::State state) |
| This message can be posted by elements when they want to have their state changed. | |
See create() for more details.
| Gst::MessageRequestState::MessageRequestState | ( | GstMessage * | castitem | ) | [explicit] |
| static Glib::RefPtr<Gst::Message> Gst::MessageRequestState::create | ( | const Glib::RefPtr<Gst::Object>& | src, | |
| Gst::State | state | |||
| ) | [static] |
This message can be posted by elements when they want to have their state changed.
A typical use case would be an audio server that wants to pause the pipeline because a higher priority stream is being played.
| src | The object originating the message. | |
| state | The new requested state. |
| Gst::State Gst::MessageRequestState::parse | ( | ) | const |
Extract the requested state from the request_state message.
1.5.9