summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
authordeva <deva>2005-06-16 21:28:57 +0000
committerdeva <deva>2005-06-16 21:28:57 +0000
commite0592745a40dae2e14e5b6d9226f41a293ababc9 (patch)
treeb3640c07fd6af71aa01bed384613ffda6c03bf41 /src/player.h
parentc397f2dcdc399b43cf150f8000e711fc20613deb (diff)
Rewrote thread object
Fixed bug in mov_encoder (pushed read_sem too many times, whihc lead to growing server queue)
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/player.h b/src/player.h
index e516a33..fb7d9c9 100644
--- a/src/player.h
+++ b/src/player.h
@@ -39,6 +39,11 @@
/*
* $Log$
+ * 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
+ * growing server queue)
+ *
* Revision 1.7 2005/05/03 08:31:59 deva
* Removed the error object, and replaced it with a more generic info object.
*
@@ -56,8 +61,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include <semaphore.h>
-#include <pthread.h>
#include <SDL/SDL.h>
//#include <avformat.h>
@@ -88,7 +91,7 @@ public:
void start();
void stop();
- void run();
+ void thread_main();
private:
Info *info;