diff options
Diffstat (limited to 'src/mov_encoder_thread.cc')
-rw-r--r-- | src/mov_encoder_thread.cc | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/mov_encoder_thread.cc b/src/mov_encoder_thread.cc index c1d3e56..600a351 100644 --- a/src/mov_encoder_thread.cc +++ b/src/mov_encoder_thread.cc @@ -31,6 +31,9 @@ /* * $Log$ + * Revision 1.11 2005/06/14 18:58:35 deva + * *** empty log message *** + * * Revision 1.10 2005/06/14 12:29:40 deva * Incorporated the use of the Info object everywhere... also using the log functionality. * @@ -44,7 +47,6 @@ * Added multithreaded encoding support. * * Revision 1.6 2005/05/19 14:10:22 deva - * * Multithreading rulez? * * Revision 1.5 2005/05/19 10:55:49 deva @@ -71,13 +73,15 @@ MovEncoderThread::MovEncoderThread(const char *cpr, Info *i) { info = i; + info->info("MovEncoderThread"); + outputqueue = new FramePriorityQueue(); inputqueue = new FrameVectorQueue(); block = new FrameVector(); num_frames_in_block = config->readString("frame_sequence")->length(); - info->log("Frame sequence length %d", num_frames_in_block); + info->info("Frame sequence length %d", num_frames_in_block); threads = config->readInt("encoding_threads"); @@ -110,6 +114,8 @@ MovEncoderThread::MovEncoderThread(const char *cpr, Info *i) MovEncoderThread::~MovEncoderThread() { + info->info("~MovEncoderThread"); + // These should not be deleted here... its done elsewhere. // inputqueue = NULL; @@ -154,7 +160,7 @@ MovEncoderThread::~MovEncoderThread() void MovEncoderThread::encode(Frame* frame) { if(frame == NULL) { - info->log("NULL frame detected, exiting."); + info->info("MovEncoderThread::encode - NULL frame detected."); // Terminate return; } |