summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
authordeva <deva>2005-09-25 20:59:02 +0000
committerdeva <deva>2005-09-25 20:59:02 +0000
commit9640339f2e9dc126406f6b6f8a091b924898b4f5 (patch)
treedad14d120f0fc4401552714b5efffe20b5c78a4d /src/player.h
parent36326a9c1bab28c5eccea6cc2c56c9a8b83dac0d (diff)
*** empty log message ***
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h21
1 files changed, 19 insertions, 2 deletions
diff --git a/src/player.h b/src/player.h
index 9cfd440..14d08ac 100644
--- a/src/player.h
+++ b/src/player.h
@@ -53,6 +53,8 @@
#include <qwidget.h>
+#include "yuv_draw.h"
+
//#define DISPLAYWIDTH 720 // FIXME: These numbers suck!
//#define DISPLAYHEIGHT 576
@@ -70,11 +72,17 @@ public:
pthread_mutex_t *gmutex);
~Player();
+ // These functions are used to set the overlay text.
+ void setCpr(char *newcpr, char* name);
+ void startrecord();
+ void stoprecord();
+
+ // Start and stop runnning video (freeze/unfreeze)
void start();
void stop();
// Used to reinitialize the SDL output width a new size
- void resize(int width, int height);
+ void resize(int width, int height, bool showtext);
void thread_main();
@@ -93,6 +101,13 @@ private:
// Set to true, whenever a resize is requested.
volatile bool bypass;
+ // Vars for the text overlay
+ volatile bool showtext;
+ volatile bool recording;
+ bool recording_prev;
+ volatile bool cprchanged;
+ char cpr[256];
+
Info *info;
void player();
@@ -109,8 +124,10 @@ private:
SDL_Surface *screen;
SDL_Overlay *overlay;
+
+ YUVDraw *yuv_draw;
};
-#endif
+#endif/*__RTVIDEOREC_PLAYER_H*/
#endif /* USE_GUI */