blob: 17544c199d77f54eced838f1f9a1257731f540e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef OMXPLAYER_H
#define OMXPLAYER_H
#include <QObject>
class OmxPlayer : public QObject
{
Q_OBJECT
public:
virtual ~OmxPlayer() = 0;
virtual void updateTexture() = 0;
virtual bool initialize(const QByteArray &filename) = 0;
virtual bool hasFrame() = 0;
virtual void setPaused(bool paused) = 0;
static OmxPlayer *create();
signals:
void frameAvailable();
void videoSize(int w, int h);
};
#endif
|