diff options
author | deva <deva> | 2005-10-18 12:07:40 +0000 |
---|---|---|
committer | deva <deva> | 2005-10-18 12:07:40 +0000 |
commit | 1099eeae24b28306022ae3663a2766261b3455e4 (patch) | |
tree | 8f40fa2017c8955e014701dd2dd19861bfe68200 /src/mov_encoder_writer.cc | |
parent | 38e4cbdb7aabf90d9a56ac95f1c8beca810c9436 (diff) |
*** empty log message ***
Diffstat (limited to 'src/mov_encoder_writer.cc')
-rw-r--r-- | src/mov_encoder_writer.cc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mov_encoder_writer.cc b/src/mov_encoder_writer.cc index d533b81..0d9081b 100644 --- a/src/mov_encoder_writer.cc +++ b/src/mov_encoder_writer.cc @@ -59,7 +59,6 @@ MovEncoderWriter::MovEncoderWriter(const char *clientip, const char* cpr, // Create path and filename char fname[256]; string *server_root; - string *mcconfig_file; char birthmonth[3]; char date[32]; @@ -84,10 +83,7 @@ MovEncoderWriter::MovEncoderWriter(const char *clientip, const char* cpr, file = new File(fname, "mpg", info); - // Get multicast configuration filename - mcconfig_file = config->readString("multicast_configurationfile"); - - MulticastConfiguration mcconfig(info, (char*)mcconfig_file->c_str()); + MulticastConfiguration mcconfig(info, ETC"/multicast.conf"); mcastconf_t mcclientconf = mcconfig.getConf((char*)clientip); @@ -116,7 +112,6 @@ MovEncoderWriter::~MovEncoderWriter() if(multicast) delete multicast; } - void MovEncoderWriter::thread_main() { info->info("MovEncoderWriter::run"); @@ -130,3 +125,7 @@ void MovEncoderWriter::thread_main() info->info("MovEncoderWriter::stop"); } +void MovEncoderWriter::setSaveState(n_savestate savestate) +{ + file->setSaveState(savestate); +} |