#include <event.h>
Public Member Functions | |
EventLatency (GstEvent* event) | |
void | parse (ClockTime& latency) |
Get the latency in the latency event. | |
Static Public Member Functions | |
static Glib::RefPtr<Gst::Event> | create (ClockTime latency) |
Create a new latency event. |
See create() for more details.
Gst::EventLatency::EventLatency | ( | GstEvent * | event | ) | [explicit] |
static Glib::RefPtr<Gst::Event> Gst::EventLatency::create | ( | ClockTime | latency | ) | [static] |
Create a new latency event.
The event is sent upstream from the sinks and notifies elements that they should add an additional latency to the timestamps before synchronising against the clock.
The latency is mostly used in live sinks and is always expressed in the time format.
latency | The new latency value. |
void Gst::EventLatency::parse | ( | ClockTime& | latency | ) |
Get the latency in the latency event.
latency | A pointer to store the latency in. |