summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/player.h b/src/player.h
index fb7d9c9..23c517d 100644
--- a/src/player.h
+++ b/src/player.h
@@ -39,6 +39,9 @@
/*
* $Log$
+ * Revision 1.9 2005/07/25 12:42:13 deva
+ * *** empty log message ***
+ *
* Revision 1.8 2005/06/16 21:28:57 deva
* Rewrote thread object
* Fixed bug in mov_encoder (pushed read_sem too many times, whihc lead to
@@ -72,8 +75,8 @@
#include <qwidget.h>
-#define DISPLAYWIDTH 720 // FIXME: These numbers suck!
-#define DISPLAYHEIGHT 576
+//#define DISPLAYWIDTH 720 // FIXME: These numbers suck!
+//#define DISPLAYHEIGHT 576
/**
* This class contains the SDL code, for displaying the movie frames
@@ -82,6 +85,7 @@
class Player : public Thread {
public:
Player(Info *ginfo,
+ int width, int height,
volatile int *grunning,
sem_t *gsem,
Queue<Frame> *gqueue,
@@ -94,6 +98,10 @@ public:
void thread_main();
private:
+ // Output dimensions (overlay)
+ int width;
+ int height;
+
Info *info;
void player();