summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
authordeva <deva>2005-03-29 20:07:22 +0000
committerdeva <deva>2005-03-29 20:07:22 +0000
commit789ed99ffdeae638e9191ca99272e536f36f6934 (patch)
tree29c884d1a6838cbdfc46feb6fb81da7a003f5eec /src/player.h
parent8baab8060621a4d219b84b14677990047ff0bf26 (diff)
Added a lot of error detection stuff to the camera, player, encoder and decoder objects.
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;