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:
@ -131,12 +131,6 @@ class I420Decoder : public VideoDecoder {
|
||||
// <0 - Error
|
||||
int Release() override;
|
||||
|
||||
// Reset decoder state and prepare for a new call.
|
||||
//
|
||||
// Return value : WEBRTC_VIDEO_CODEC_OK.
|
||||
// <0 - Error
|
||||
int Reset() override;
|
||||
|
||||
private:
|
||||
static const uint8_t* ExtractHeader(const uint8_t* buffer,
|
||||
uint16_t* width,
|
||||
|
||||
Reference in New Issue
Block a user