21 #include "miniobject.h"
22 #include "structure.h"
23 #include "clocktime.h"
59 quint64 timestamp()
const;
60 EventType type()
const;
61 QString typeName()
const;
63 StructureConstPtr internalStructure();
65 bool hasName(
const char *name)
const;
67 quint32 sequenceNumber()
const;
68 void setSequenceNumber(quint32 num);
79 QGST_WRAPPER_FAKE_SUBCLASS(FlushStart,
Event)
89 QGST_WRAPPER_FAKE_SUBCLASS(FlushStop,
Event)
93 bool resetTime()
const;
101 QGST_WRAPPER_FAKE_SUBCLASS(Eos,
Event)
135 QGST_WRAPPER_FAKE_SUBCLASS(Tag,
Event)
147 QGST_WRAPPER_FAKE_SUBCLASS(BufferSize,
Event)
149 static BufferSizeEventPtr create(Format format, qint64 minSize, qint64 maxSize,
bool isAsync);
151 Format format()
const;
152 qint64 minSize()
const;
153 qint64 maxSize()
const;
154 bool isAsync()
const;
162 QGST_WRAPPER_FAKE_SUBCLASS(SinkMessage,
Event)
174 QGST_WRAPPER_FAKE_SUBCLASS(Qos,
Event)
176 static QosEventPtr create(QosType qos,
double proportion, ClockTimeDiff diff,
ClockTime timestamp);
178 QosType qosType()
const;
179 double proportion()
const;
180 ClockTimeDiff diff()
const;
189 QGST_WRAPPER_FAKE_SUBCLASS(Seek,
Event)
191 static SeekEventPtr create(
double rate, Format format, SeekFlags flags, SeekType startType,
192 qint64 start, SeekType stopType, qint64 stop);
195 Format format()
const;
196 SeekFlags flags()
const;
197 SeekType startType()
const;
198 qint64 start()
const;
199 SeekType stopType()
const;
208 QGST_WRAPPER_FAKE_SUBCLASS(Navigation,
Event)
218 QGST_WRAPPER_FAKE_SUBCLASS(Latency,
Event)
230 QGST_WRAPPER_FAKE_SUBCLASS(Step,
Event)
232 static StepEventPtr create(Format format, quint64 amount,
double rate,
233 bool flush,
bool intermediate);
235 Format format()
const;
236 quint64 amount()
const;
239 bool intermediate()
const;
245 QGST_REGISTER_SUBCLASS(Event, FlushStart)
246 QGST_REGISTER_SUBCLASS(Event, FlushStop)
247 QGST_REGISTER_SUBCLASS(Event, Eos)
248 QGST_REGISTER_SUBCLASS(Event, Caps)
249 QGST_REGISTER_SUBCLASS(Event, Segment)
250 QGST_REGISTER_SUBCLASS(Event, Tag)
251 QGST_REGISTER_SUBCLASS(Event, BufferSize)
252 QGST_REGISTER_SUBCLASS(Event, SinkMessage)
253 QGST_REGISTER_SUBCLASS(Event, Qos)
254 QGST_REGISTER_SUBCLASS(Event, Seek)
255 QGST_REGISTER_SUBCLASS(Event, Navigation)
256 QGST_REGISTER_SUBCLASS(Event, Latency)
257 QGST_REGISTER_SUBCLASS(Event, Step)
Wrapper class for events of type QGst::FlushStartEvent.
Wrapper class for events of type QGst::EosEvent.
Wrapper class for events of type QGst::SegmentEvent.
Wrapper class for GstMiniObject.
Wrapper class for events of type QGst::BufferSizeEvent.
Smart pointer class for working with wrapper classes that support reference counting.
Wrapper for GstStructure.
A datatype to hold a time, measured in nanoseconds.
Wrapper class for events of type QGst::QosEvent.
Wrapper class for GstEvent.
Wrapper class for events of type QGst::NavigationEvent.
Wrapper class for GstTagList.
Wrapper class for events of type QGst::TagEvent.
Wrapper class for events of type QGst::LatencyEvent.
Wrapper class for events of type QGst::FlushStopEvent.
Wrapper class for GstCaps.
Wrapper class for events of type QGst::StepEvent.
Wrapper class for events of type QGst::SinkMessageEvent.
Wrapper class for events of type QGst::EventCaps.
Wrapper class for events of type QGst::SeekEvent.