diff options
author | deva <deva> | 2005-03-29 20:07:22 +0000 |
---|---|---|
committer | deva <deva> | 2005-03-29 20:07:22 +0000 |
commit | 789ed99ffdeae638e9191ca99272e536f36f6934 (patch) | |
tree | 29c884d1a6838cbdfc46feb6fb81da7a003f5eec /src/player.h | |
parent | 8baab8060621a4d219b84b14677990047ff0bf26 (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.h | 9 |
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; |