summaryrefslogtreecommitdiff
path: root/server/libfame_wrapper.cc
diff options
context:
space:
mode:
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.");
}