summaryrefslogtreecommitdiff
path: root/client/player.h
diff options
context:
space:
mode:
authordeva <deva>2006-04-08 11:10:09 +0000
committerdeva <deva>2006-04-08 11:10:09 +0000
commit9c078bc5e1468ed79d85fafbad41160c0170959e (patch)
treec23fe08951e1a4a6cda0f0d5d56fbc3b17185f03 /client/player.h
parenta348f1d6d6c35800399b47a7d06562d52c38f72e (diff)
*** empty log message ***
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;