summaryrefslogtreecommitdiff
path: root/client/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/player.h')
-rw-r--r--client/player.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/client/player.h b/client/player.h
index d3db533..824e2c0 100644
--- a/client/player.h
+++ b/client/player.h
@@ -37,6 +37,7 @@
#include <X11/Xlib.h>
#include <X11/extensions/Xvlib.h>
+//#include "libdv_wrapper.h"
// Use libdv
#include <libdv/dv.h>
#include <libdv/dv_types.h>
@@ -47,29 +48,23 @@ class Player : public QTimer
{
Q_OBJECT
public:
- Player(VideoWidget *widget, Decoder *decoder);
+ Player(QWidget *widget, Decoder *decoder);
~Player();
public slots:
void show_frame();
private:
- // dv1394 reader;
-
int pitches[3];
unsigned char* yuv[3];
+ // LibDVWrapper dvdecoder;
dv_decoder_t *dvdecoder;
+
Decoder *decoder;
- VideoWidget *widget;
+ QWidget *widget;
XvAccelRender render;
-
- Display *display;
- Drawable drawable;
- GC gc;
- XvPortID port;
- XGCValues values;
};
#endif/*__MIAV_PLAYER_H__*/