summaryrefslogtreecommitdiff
path: root/client/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/player.h')
-rw-r--r--client/player.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/client/player.h b/client/player.h
index 24920a5..59e1f70 100644
--- a/client/player.h
+++ b/client/player.h
@@ -27,23 +27,28 @@
#ifndef __MIAV_PLAYER_H__
#define __MIAV_PLAYER_H__
-#include <QThread>
+#include <QTimer>
#include "videowidget.h"
#include <X11/Xlib.h>
#include <X11/extensions/Xvlib.h>
-class Player : public QThread
+#include "xvaccelrenderer.h"
+
+class Player : public QTimer
{
+Q_OBJECT
public:
Player(VideoWidget *widget);
~Player();
- void run();
+public slots:
+ void show_frame();
private:
VideoWidget *widget;
+ XvAccelRender render;
Display *display;
Drawable drawable;