diff options
Diffstat (limited to 'src/mov_encoder_writer.cc')
-rw-r--r-- | src/mov_encoder_writer.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mov_encoder_writer.cc b/src/mov_encoder_writer.cc index 732f9ba..572a81e 100644 --- a/src/mov_encoder_writer.cc +++ b/src/mov_encoder_writer.cc @@ -81,6 +81,8 @@ MovEncoderWriter::MovEncoderWriter(const char* cpr, file = new File(fname, "mpg", info); + multicast = new Multicast(info); + video_queue = video_q; audio_queue = audio_q; @@ -91,6 +93,7 @@ MovEncoderWriter::~MovEncoderWriter() { info->info("~MovEncoderWriter"); delete file; + delete multicast; } @@ -98,7 +101,8 @@ void MovEncoderWriter::thread_main() { info->info("MovEncoderWriter::run"); - Multiplexer multiplexer(file, info, &running, + Multiplexer multiplexer(file, multicast, + info, &running, video_queue, audio_queue); multiplexer.multiplex(); |