VP8: Making key frame interval a tunnable parameter

Review URL: https://webrtc-codereview.appspot.com/1070006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3444 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
mikhal@webrtc.org
2013-01-31 16:37:13 +00:00
parent 6e3968f62a
commit e07c661a29
6 changed files with 43 additions and 35 deletions

View File

@ -8,19 +8,19 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include "modules/video_coding/main/source/codec_database.h"
#include "webrtc/modules/video_coding/main/source/codec_database.h"
#include <assert.h>
#include "engine_configurations.h"
#include "webrtc/engine_configurations.h"
#ifdef VIDEOCODEC_I420
#include "modules/video_coding/codecs/i420/main/interface/i420.h"
#include "webrtc/modules/video_coding/codecs/i420/main/interface/i420.h"
#endif
#ifdef VIDEOCODEC_VP8
#include "modules/video_coding/codecs/vp8/include/vp8.h"
#include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h"
#endif
#include "modules/video_coding/main/source/internal_defines.h"
#include "system_wrappers/interface/trace.h"
#include "webrtc/modules/video_coding/main/source/internal_defines.h"
#include "webrtc/system_wrappers/interface/trace.h"
namespace webrtc {
@ -98,6 +98,7 @@ bool VCMCodecDataBase::Codec(int list_id,
settings->codecSpecific.VP8.errorConcealmentOn = false;
settings->codecSpecific.VP8.automaticResizeOn = false;
settings->codecSpecific.VP8.frameDroppingOn = true;
settings->codecSpecific.VP8.keyFrameInterval = 3000;
return true;
}
#endif