|
|
|
Change for new x264 api, extraced from mpeg4ip cvs.
|
|
|
|
--- ./server/mp4live/video_x264.cpp.orig 2007-03-02 00:25:59.000000000 +0100
|
|
+++ ./server/mp4live/video_x264.cpp 2007-03-02 00:26:08.000000000 +0100
|
|
@@ -168,7 +168,7 @@
|
|
m_param.i_bframe = 0;
|
|
//debug_message("h264 b frames %d", m_param.i_bframe);
|
|
m_param.rc.i_bitrate = Profile()->GetIntegerValue(CFG_VIDEO_BIT_RATE);
|
|
- m_param.rc.b_cbr = Profile()->GetBoolValue(CFG_X264_USE_CBR) ? 1 : 0;
|
|
+ m_param.rc.i_rc_method = X264_RC_ABR;
|
|
m_param.rc.f_rate_tolerance = Profile()->GetFloatValue(CFG_X264_BIT_RATE_TOLERANCE);
|
|
if (Profile()->GetBoolValue(CFG_X264_USE_VBV)) {
|
|
if (Profile()->GetBoolValue(CFG_X264_FORCE_BASELINE)) {
|