| Index: media/gpu/android_video_decode_accelerator.h
|
| diff --git a/media/gpu/android_video_decode_accelerator.h b/media/gpu/android_video_decode_accelerator.h
|
| index a9069f9b7da656c09650f9e19973695ce97f80c1..a1c439df3bab5d9bcadd2f652c092a1c9faa2297 100644
|
| --- a/media/gpu/android_video_decode_accelerator.h
|
| +++ b/media/gpu/android_video_decode_accelerator.h
|
| @@ -434,6 +434,11 @@ class MEDIA_GPU_EXPORT AndroidVideoDecodeAccelerator
|
| // called NotifyInitializationComplete.
|
| bool deferred_initialization_pending_;
|
|
|
| + // Indicates if ResetCodecState() should be called upon the next call to
|
| + // Decode(). Allows us to avoid trashing the last few frames of a playback
|
| + // when the EOS buffer is received.
|
| + bool codec_needs_reset_;
|
| +
|
| // Copy of the VDA::Config we were given.
|
| Config config_;
|
|
|
|
|