update v2.x

This commit is contained in:
bossiel 2011-05-15 19:11:12 +00:00
parent 7f1240b44a
commit 23535afa7c
3 changed files with 2 additions and 1 deletions

View File

@ -135,6 +135,7 @@ int tdav_codec_h264_open(tmedia_codec_t* self)
//h264->encoder.context->bit_rate = (int) (bitRate * 0.80f);
//h264->encoder.context->bit_rate_tolerance = (int) (bitRate * 0.20f);
h264->encoder.context->gop_size = TMEDIA_CODEC_VIDEO(h264)->fps*4; // Each 4 second(s)
// h264->encoder.context->keyint_min = TMEDIA_CODEC_VIDEO(h264)->fps;
// Picture (YUV 420)

View File

@ -1274,7 +1274,7 @@ static tsk_object_t* tmedia_session_mgr_ctor(tsk_object_t * self, va_list * app)
mgr->qos.type = tmedia_qos_stype_none;
mgr->qos.strength = tmedia_qos_strength_optional;
mgr->bl = tmedia_bl_low;
mgr->bl = tmedia_bl_medium;
}
return self;
}