21 #ifndef QTAV_FRAMEREADER_H 22 #define QTAV_FRAMEREADER_H 24 #include <QtCore/QObject> 53 void setMedia(
const QString& url);
54 QString mediaUrl()
const;
55 void setVideoDecoders(
const QStringList& names);
56 QStringList videoDecoders()
const;
58 bool hasVideoFrame()
const;
59 bool hasEnoughVideoFrames()
const;
64 bool seek(qint64 pos);
69 void seekFinished(qint64 pos);
72 void readMoreRequested();
73 void seekRequested(qint64);
76 void readMoreInternal();
77 bool seekInternal(qint64 value);
81 QScopedPointer<Private> d;
84 #endif // QTAV_FRAMEREADER_H #define Q_AV_EXPORT
Definition: QtAV_Global.h:40
Definition: VideoFrame.h:32
AudioOutput ao; ao.setAudioFormat(fmt); ao.open(); while (has_data) { data = read_data(ao->bufferSize...
Definition: AudioDecoder.h:31
The FrameReader class while (reader->readMore()) { while (reader->hasVideoFrame()) { //or hasEnoughVi...
Definition: FrameReader.h:45