Gst::EventEos Class Reference

An end of stream event. More...

#include <event.h>

Inheritance diagram for Gst::EventEos:

Gst::Event Gst::MiniObject

List of all members.

Public Member Functions

 EventEos (GstEvent* event)

Static Public Member Functions

static Glib::RefPtr<Gst::Eventcreate ()
 Create a new EOS event.


Detailed Description

An end of stream event.

See create() for more details.


Constructor& Destructor Documentation

Gst::EventEos::EventEos ( GstEvent *  event  )  [explicit]


Member Function Documentation

static Glib::RefPtr<Gst::Event> Gst::EventEos::create (  )  [static]

Create a new EOS event.

The eos event can only travel downstream synchronized with the buffer flow. Elements that receive the EOS event on a pad can return Gst::FLOW_UNEXPECTED as a Gst::FlowReturn when data after the EOS event arrives.

The EOS event will travel down to the sink elements in the pipeline which will then post the Gst::MESSAGE_EOS on the bus after they have finished playing any buffered data.

When all sinks have posted an EOS message, an EOS message is forwarded to the application.

Returns:
The new EOS event.


The documentation for this class was generated from the following file:

Generated on Thu Jan 15 09:33:12 2009 for gstreamermm by  doxygen 1.5.7.1