summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/player.h b/src/player.h
index 3e7efb6..2af4165 100644
--- a/src/player.h
+++ b/src/player.h
@@ -44,9 +44,13 @@
#include <qwidget.h>
-#define DISPLAYWIDTH 720 /* FIXME: These numbers suck! */
+#define DISPLAYWIDTH 720 // FIXME: These numbers suck!
#define DISPLAYHEIGHT 576
+/**
+ * This class contains the SDL code, for displaying the movie frames
+ * in the widget, using hardware overlay.
+ */
class Player : public Thread {
public:
Player(Error* err,
@@ -66,6 +70,9 @@ private:
void player();
+ // Used to verify if errors ha ocurred previously.
+ bool noErrors;
+
volatile int *running;
sem_t *sem;
Queue<FFFrame> *queue;