#include <event.h>
Public Member Functions | |
EventEos (GstEvent* event) | |
Static Public Member Functions | |
static Glib::RefPtr<Gst::Event> | create () |
Create a new EOS event. |
See create() for more details.
Gst::EventEos::EventEos | ( | GstEvent * | event | ) | [explicit] |
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.