summaryrefslogtreecommitdiff
path: root/src/mov_encoder.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/mov_encoder.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/mov_encoder.h')
-rw-r--r--src/mov_encoder.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/mov_encoder.h b/src/mov_encoder.h
index f006daa..918768b 100644
--- a/src/mov_encoder.h
+++ b/src/mov_encoder.h
@@ -36,6 +36,11 @@
/*
* $Log$
+ * Revision 1.12 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.11 2005/06/14 12:29:40 deva
* Incorporated the use of the Info object everywhere... also using the log functionality.
*
@@ -100,7 +105,7 @@ public:
~MovEncoder();
Frame* encode(Frame *frame);
- void run();
+ void thread_main();
volatile bool running;
@@ -124,10 +129,11 @@ private:
void encode_audio(Frame *frame);
// libFAME encoder
- unsigned char *fame_buffer;
+ // unsigned char *fame_buffer;
fame_parameters_t fame_par;
fame_context_t *fame_context;
fame_yuv_t yuv;
+ unsigned char fame_buffer[FAME_BUFFER_SIZE];
// libdv decoder
dv_decoder_t *dvdecoder;