summaryrefslogtreecommitdiff
path: root/src/encoder.h
diff options
context:
space:
mode:
authordeva <deva>2005-04-14 17:28:21 +0000
committerdeva <deva>2005-04-14 17:28:21 +0000
commitd5e1739f5288355869eccd53ab3eb1a4000d1cab (patch)
tree15f9f20fb8d5c92fbf0b2ef5e34f150ce660168f /src/encoder.h
parentf742dd679138b1e3428b72e8f934fee15ade9ecb (diff)
Unified the frame types.
Diffstat (limited to 'src/encoder.h')
-rw-r--r--src/encoder.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/encoder.h b/src/encoder.h
index 75788b4..d9534b3 100644
--- a/src/encoder.h
+++ b/src/encoder.h
@@ -30,17 +30,14 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <avformat.h>
-
-#include <miav.h>
+//#include <avformat.h>
+#include "miav.h"
#include "util.h"
-#include <queue.h>
-
#include "package.h"
-
#include "thread.h"
-#include <dvframe.h>
+#include "frame.h"
+#include "queue.h"
// FIXME: One size fits all...
#define VIDEO_BUFFER_SIZE (1024*1024)
@@ -56,7 +53,7 @@ public:
const char *gip,
const int gport,
sem_t *gsem,
- Queue<DVFrame> *gqueue,
+ Queue<Frame> *gqueue,
pthread_mutex_t *gmutex,
volatile int *grunning);
~Encoder();
@@ -71,9 +68,9 @@ public:
void run();
- AVFormatContext *fc;
+ // AVFormatContext *fc;
sem_t *sem;
- Queue<DVFrame> *queue;
+ Queue<Frame> *queue;
pthread_mutex_t *mutex;
volatile int *running;