summaryrefslogtreecommitdiff
path: root/src/mov_encoder_writer.cc
diff options
context:
space:
mode:
authordeva <deva>2005-10-05 14:42:38 +0000
committerdeva <deva>2005-10-05 14:42:38 +0000
commit94c52bd15e64830db905522294a1975ed7a1cc39 (patch)
tree7a393e23c863b470a5fa7caa2eb8e92585c36d38 /src/mov_encoder_writer.cc
parent111b16802de661228ef414eb6ec7484e2fa186ed (diff)
*** empty log message ***
Diffstat (limited to 'src/mov_encoder_writer.cc')
-rw-r--r--src/mov_encoder_writer.cc6
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();