#include <message.h>

Public Member Functions | |
| MessageSegmentStart (GstMessage* castitem) | |
| void | parse (Format& format, gint64& position) |
| Extracts the position and format from the segment start message. | |
| gint64 | parse () |
| Extracts and returns the position from the segment start message. | |
| Format | parse_format () |
| Extracts and returns the format from the segment start message. | |
Static Public Member Functions | |
| static Glib::RefPtr<Message> | create (const Glib::RefPtr<Object>& src, Format format, gint64 position) |
| Create a new segment message. | |
See create() for more details.
| Gst::MessageSegmentStart::MessageSegmentStart | ( | GstMessage * | castitem | ) | [explicit] |
| static Glib::RefPtr<Message> Gst::MessageSegmentStart::create | ( | const Glib::RefPtr<Object>& | src, | |
| Format | format, | |||
| gint64 | position | |||
| ) | [static] |
Create a new segment message.
This message is posted by elements that start playback of a segment as a result of a segment seek. This message is not received by the application but is used for maintenance reasons in container elements.
| src | The object originating the message. | |
| format | The format of the position being played. | |
| position | The position of the segment being played. |
| void Gst::MessageSegmentStart::parse | ( | Format& | format, | |
| gint64 & | position | |||
| ) |
Extracts the position and format from the segment start message.
MT safe.
| format | Result location for the format. | |
| position | Result location for the position. |
| gint64 Gst::MessageSegmentStart::parse | ( | ) |
Extracts and returns the position from the segment start message.
MT safe.
| Format Gst::MessageSegmentStart::parse_format | ( | ) |
Extracts and returns the format from the segment start message.
MT safe.
1.5.5