summaryrefslogtreecommitdiff
path: root/src/libfame_wrapper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libfame_wrapper.cc')
-rw-r--r--src/libfame_wrapper.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libfame_wrapper.cc b/src/libfame_wrapper.cc
index 5c71154..a663df6 100644
--- a/src/libfame_wrapper.cc
+++ b/src/libfame_wrapper.cc
@@ -97,10 +97,10 @@ LibFAMEWrapper::LibFAMEWrapper(Info *i)
fame_par.coding = config->readString("frame_sequence")->c_str();
// quality is a percentage, which controls compression versus quality.
- fame_par.quality = config->readInt("frame_quality");
+ fame_par.quality = config->readInt("video_quality");
// Bitrate
- fame_par.bitrate = 150000; // video bitrate in bytes pr second (0=VBR)
+ fame_par.bitrate = 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