summaryrefslogtreecommitdiff
path: root/src/mov_encoder_writer.cc
diff options
context:
space:
mode:
authordeva <deva>2005-10-27 14:08:28 +0000
committerdeva <deva>2005-10-27 14:08:28 +0000
commit971d1fdf8599dccdc604ed9374373af16af8354f (patch)
treeac8430951bb676cbf501702cff4450a555afe394 /src/mov_encoder_writer.cc
parent283599ea687e81855d78abffcbf641edb3bf02fb (diff)
*** empty log message ***
Diffstat (limited to 'src/mov_encoder_writer.cc')
-rw-r--r--src/mov_encoder_writer.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mov_encoder_writer.cc b/src/mov_encoder_writer.cc
index 0d9081b..9bedba1 100644
--- a/src/mov_encoder_writer.cc
+++ b/src/mov_encoder_writer.cc
@@ -87,17 +87,17 @@ MovEncoderWriter::MovEncoderWriter(const char *clientip, const char* cpr,
mcastconf_t mcclientconf = mcconfig.getConf((char*)clientip);
- info->info("Client: %s - Enabled: %s - Addr: %s - Port: %d",
+ info->info("Client: %s - Enabled: %s - Addr: %s - Port: %d - WithAudio: %s",
mcclientconf.client.c_str(),
mcclientconf.enabled?"Yes\0":"No\0",
mcclientconf.addr.c_str(),
- mcclientconf.port);
+ mcclientconf.port,
+ mcclientconf.with_audio?"Yes\0":"No\0");
multicast = NULL;
if(mcclientconf.enabled) multicast = new Multicast(info,
- (char*)mcclientconf.addr.c_str(),
- mcclientconf.port);
+ mcclientconf);
video_queue = video_q;
audio_queue = audio_q;
@@ -116,7 +116,7 @@ void MovEncoderWriter::thread_main()
{
info->info("MovEncoderWriter::run");
- Multiplexer multiplexer(file, multicast,
+ Multiplexer multiplexer(file, multicast,
info, &running,
video_queue,
audio_queue);