Deprecate VideoDecoder::Reset() and remove calls.
Removes calls to decoder reset and instead drops delta frames and requests keyframes until one arrives. BUG=webrtc:5475 R=stefan@webrtc.org TBR=mflodman@webrtc.org Review URL: https://codereview.webrtc.org/1647163002 . Cr-Commit-Position: refs/heads/master@{#11460}
This commit is contained in:
@ -840,14 +840,6 @@ VP9DecoderImpl::~VP9DecoderImpl() {
|
||||
}
|
||||
}
|
||||
|
||||
int VP9DecoderImpl::Reset() {
|
||||
if (!inited_) {
|
||||
return WEBRTC_VIDEO_CODEC_UNINITIALIZED;
|
||||
}
|
||||
InitDecode(&codec_, 1);
|
||||
return WEBRTC_VIDEO_CODEC_OK;
|
||||
}
|
||||
|
||||
int VP9DecoderImpl::InitDecode(const VideoCodec* inst, int number_of_cores) {
|
||||
if (inst == NULL) {
|
||||
return WEBRTC_VIDEO_CODEC_ERR_PARAMETER;
|
||||
|
||||
Reference in New Issue
Block a user