summaryrefslogtreecommitdiff
path: root/src/encoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoder.h')
-rw-r--r--src/encoder.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/encoder.h b/src/encoder.h
index 2054f92..7eb1c87 100644
--- a/src/encoder.h
+++ b/src/encoder.h
@@ -38,6 +38,11 @@
/*
* $Log$
+ * Revision 1.13 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.12 2005/05/03 08:31:59 deva
* Removed the error object, and replaced it with a more generic info object.
*
@@ -63,6 +68,8 @@
#ifndef __RTVIDEOREC_ENCODER_H
#define __RTVIDEOREC_ENCODER_H
+#include "thread.h"
+
#include "info.h"
#include <stdio.h>
@@ -73,7 +80,6 @@
#include "miav.h"
#include "util.h"
#include "package.h"
-#include "thread.h"
#include "frame.h"
#include "queue.h"
@@ -104,7 +110,7 @@ public:
void freeze();
void shoot();
- void run();
+ void thread_main();
// AVFormatContext *fc;
sem_t *sem;