Index: content/common/gpu/media/dxva_video_decode_accelerator.cc |
diff --git a/content/common/gpu/media/dxva_video_decode_accelerator.cc b/content/common/gpu/media/dxva_video_decode_accelerator.cc |
index c99121ccaf95553e2bbb75cd2d95a31435f9a2ec..dee835e229f7b206e39e2ac14ad829f286e6f707 100644 |
--- a/content/common/gpu/media/dxva_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/dxva_video_decode_accelerator.cc |
@@ -674,6 +674,8 @@ void DXVAVideoDecodeAccelerator::Reset() { |
state_ = kResetting; |
+ pending_output_samples_.clear(); |
+ |
RETURN_AND_NOTIFY_ON_FAILURE(SendMFTMessage(MFT_MESSAGE_COMMAND_FLUSH, 0), |
"Reset: Failed to send message.", PLATFORM_FAILURE,); |