summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
authordeva <deva>2005-07-25 12:42:13 +0000
committerdeva <deva>2005-07-25 12:42:13 +0000
commit442c6ec72cbafacbfb6044e1a80c6eaadf8f070e (patch)
tree344699d152406abe3186c41675fccdd623b6c45c /src/player.h
parenta500be754cfa6de7f1f18f985fab2f6870700a44 (diff)
*** empty log message ***
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();