summaryrefslogtreecommitdiff
path: root/server/libfame_wrapper.cc
diff options
context:
space:
mode:
authordeva <deva>2006-03-07 19:12:18 +0000
committerdeva <deva>2006-03-07 19:12:18 +0000
commit4f84ffc811d93371f395f11a0e0f42000eaa99fc (patch)
treeb562b6c55f2a825dbbc12646df9741b51e1dff79 /server/libfame_wrapper.cc
parent1390ddfe6afe41dba141f8170f9b277573ebe8cd (diff)
*** empty log message ***
Diffstat (limited to 'server/libfame_wrapper.cc')
-rw-r--r--server/libfame_wrapper.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/server/libfame_wrapper.cc b/server/libfame_wrapper.cc
index a663df6..e1d3660 100644
--- a/server/libfame_wrapper.cc
+++ b/server/libfame_wrapper.cc
@@ -94,13 +94,13 @@ LibFAMEWrapper::LibFAMEWrapper(Info *i)
// to JPEG), whereas P and B frames are motion compressed, respectively
// predicted from past reference (I or P) frame, or bidirectionally predicted
// from past and future reference frame.
- fame_par.coding = config->readString("frame_sequence")->c_str();
+ fame_par.coding = MIaV::config->readString("frame_sequence")->c_str();
// quality is a percentage, which controls compression versus quality.
- fame_par.quality = config->readInt("video_quality");
+ fame_par.quality = MIaV::config->readInt("video_quality");
// Bitrate
- fame_par.bitrate = config->readInt("video_bitrate") * 1000; // video bitrate in bytes pr second (0=VBR)
+ fame_par.bitrate = MIaV::config->readInt("video_bitrate") * 1000; // video bitrate in bytes pr second (0=VBR)
// slices_per_frame is the number of frame slices per frame. More slices provide
// better error recovery. There must be at least one slice per frame, and at most
@@ -133,7 +133,7 @@ LibFAMEWrapper::LibFAMEWrapper(Info *i)
fame_par.profile = profilename; // profile name
fame_par.total_frames = 0; // total number of frames
- if(strcmp(config->readString("encoding_codec")->c_str(), "mpeg4") == 0) {
+ if(strcmp(MIaV::config->readString("encoding_codec")->c_str(), "mpeg4") == 0) {
info->info("Using mpeg4 compression.");
fame_object_t *object;
@@ -141,7 +141,7 @@ LibFAMEWrapper::LibFAMEWrapper(Info *i)
object = fame_get_object(fame_context, "profile/mpeg4/simple");
if(object) fame_register(fame_context, "profile", object);
- } else if(strcmp(config->readString("encoding_codec")->c_str(), "mpeg1") == 0) {
+ } else if(strcmp(MIaV::config->readString("encoding_codec")->c_str(), "mpeg1") == 0) {
info->info("Using mpeg1 compression.");
fame_object_t *object;
@@ -149,7 +149,7 @@ LibFAMEWrapper::LibFAMEWrapper(Info *i)
object = fame_get_object(fame_context, "profile/mpeg1");
if(object) fame_register(fame_context, "profile", object);
- } else if(strcmp(config->readString("encoding_codec")->c_str(), "mpeg1") == 0) {
+ } else if(strcmp(MIaV::config->readString("encoding_codec")->c_str(), "mpeg1") == 0) {
} else {
info->info("Using default (mpeg1) compression.");
}