Enabling libvpx error concealment.
Review URL: http://webrtc-codereview.appspot.com/116010 git-svn-id: http://webrtc.googlecode.com/svn/trunk@399 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
7ad6d1cf27
commit
2cdc7b94d2
@ -658,7 +658,9 @@ VP8Decoder::InitDecode(const VideoCodec* inst,
|
||||
cfg.threads = numberOfCores;
|
||||
cfg.h = cfg.w = 0; // set after decode
|
||||
|
||||
if (vpx_codec_dec_init(_decoder, vpx_codec_vp8_dx(), NULL, 0))
|
||||
vpx_codec_flags_t flags = VPX_CODEC_USE_ERROR_CONCEALMENT;
|
||||
|
||||
if (vpx_codec_dec_init(_decoder, vpx_codec_vp8_dx(), NULL, flags))
|
||||
{
|
||||
return WEBRTC_VIDEO_CODEC_MEMORY;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user