| Index: content/common/gpu/media/android_video_decode_accelerator.h
|
| diff --git a/content/common/gpu/media/android_video_decode_accelerator.h b/content/common/gpu/media/android_video_decode_accelerator.h
|
| index 8cda7d5e6fa28bb8e5af3d1acbe96241c9cf1b9b..25cf54a456d663eadfa46eee81ef33a819b6cf67 100644
|
| --- a/content/common/gpu/media/android_video_decode_accelerator.h
|
| +++ b/content/common/gpu/media/android_video_decode_accelerator.h
|
| @@ -178,6 +178,12 @@ class CONTENT_EXPORT AndroidVideoDecodeAccelerator
|
| // start the timer. Calling it with false may stop the timer.
|
| void ManageTimer(bool did_work);
|
|
|
| + // Resets MediaCodec and buffers/containers used for storing output. These
|
| + // components need to be reset upon EOS to decode a later stream. Input state
|
| + // (e.g. queued BitstreamBuffers) is not reset, as input following an EOS
|
| + // is still valid and should be processed.
|
| + void ResetCodecState();
|
| +
|
| // Return true if and only if we should use deferred rendering.
|
| static bool UseDeferredRenderingStrategy();
|
|
|
|
|