21#include "miniobject.h"
57 QString typeName()
const;
58 QueryType type()
const;
60 StructureConstPtr internalStructure();
68 QGST_WRAPPER_FAKE_SUBCLASS(Position,
Query)
72 Format format()
const;
73 qint64 position()
const;
74 void setValues(Format format, qint64 position);
82 QGST_WRAPPER_FAKE_SUBCLASS(Duration,
Query)
86 Format format()
const;
87 qint64 duration()
const;
88 void setValues(Format format, qint64 duration);
96 QGST_WRAPPER_FAKE_SUBCLASS(Latency,
Query)
100 bool hasLive()
const;
112 QGST_WRAPPER_FAKE_SUBCLASS(Seeking,
Query)
116 Format format()
const;
117 bool seekable()
const;
118 qint64 segmentStart()
const;
119 qint64 segmentEnd()
const;
121 void setValues(Format format,
bool seekable, qint64 segmentStart, qint64 segmentEnd);
133 Format format()
const;
135 qint64 startValue()
const;
136 qint64 stopValue()
const;
138 void setValues(Format format,
double rate, qint64 startValue, qint64 stopValue);
146 QGST_WRAPPER_FAKE_SUBCLASS(Convert,
Query)
148 static ConvertQueryPtr create(Format sourceFormat, qint64 value, Format destinationFormat);
150 Format sourceFormat()
const;
151 qint64 sourceValue()
const;
152 Format destinationFormat()
const;
153 qint64 destinationValue()
const;
155 void setValues(Format sourceFormat, qint64 sourcevalue, Format destinationFormat,
156 qint64 destinationValue);
164 QGST_WRAPPER_FAKE_SUBCLASS(Formats,
Query)
168 QList<Format> formats()
const;
169 void setFormats(
const QList<Format> & formats);
177 QGST_WRAPPER_FAKE_SUBCLASS(Buffering,
Query)
184 void setBufferingPercent(
bool busy,
int percent);
186 BufferingMode mode()
const;
187 int averageIn()
const;
188 int averageOut()
const;
189 qint64 bufferingLeft()
const;
191 void setBufferingStats(BufferingMode mode,
int averageIn,
192 int averageOut, qint64 bufferingLeft);
194 Format rangeFormat()
const;
195 qint64 rangeStart()
const;
196 qint64 rangeStop()
const;
197 qint64 estimatedTotal()
const;
199 void setBufferingRange(Format rangeFormat, qint64 rangeStart,
200 qint64 rangeStop, qint64 estimatedTotal);
208 QGST_WRAPPER_FAKE_SUBCLASS(Uri,
Query)
213 void setUri(
const QUrl & uri);
219QGST_REGISTER_SUBCLASS(Query, Position)
220QGST_REGISTER_SUBCLASS(Query, Duration)
221QGST_REGISTER_SUBCLASS(Query, Latency)
222QGST_REGISTER_SUBCLASS(Query, Seeking)
223QGST_REGISTER_SUBCLASS(Query, Segment)
224QGST_REGISTER_SUBCLASS(Query, Convert)
225QGST_REGISTER_SUBCLASS(Query, Formats)
226QGST_REGISTER_SUBCLASS(Query, Buffering)
227QGST_REGISTER_SUBCLASS(Query, Uri)
Smart pointer class for working with wrapper classes that support reference counting.
Wrapper class for queries of type QGst::BufferingQuery.
A datatype to hold a time, measured in nanoseconds.
Wrapper class for queries of type QGst::ConvertQuery.
Wrapper class for queries of type QGst::DurationQuery.
Wrapper class for queries of type QGst::LatencyQuery.
Wrapper class for GstMiniObject.
Wrapper class for queries of type QGst::PositionQuery.
Wrapper class for GstQuery.
Wrapper class for queries of type QGst::SeekingQuery.
Wrapper class for queries of type QGst::SegmentQuery.
Wrapper class for queries of type QGst::UriQuery.
Wrappers for GStreamer classes.