| Index: media/filters/gpu_video_decoder.cc
|
| diff --git a/media/filters/gpu_video_decoder.cc b/media/filters/gpu_video_decoder.cc
|
| index 8b9f0299052fa059181aa4c4271e2f53d3e885b9..747d352816d3df0ea8e1dc9826e154cc0abfbbf9 100644
|
| --- a/media/filters/gpu_video_decoder.cc
|
| +++ b/media/filters/gpu_video_decoder.cc
|
| @@ -177,6 +177,8 @@ void GpuVideoDecoder::Initialize(const VideoDecoderConfig& config,
|
| output_cb_ = BindToCurrentLoop(output_cb);
|
|
|
| if (previously_initialized) {
|
| + DVLOG(3) << __FUNCTION__
|
| + << " Expecting initialized VDA to detect in-stream config change.";
|
| // Reinitialization with a different config (but same codec and profile).
|
| // VDA should handle it by detecting this in-stream by itself,
|
| // no need to notify it.
|
| @@ -290,6 +292,7 @@ void GpuVideoDecoder::Decode(const scoped_refptr<DecoderBuffer>& buffer,
|
| DCHECK_EQ(state_, kNormal);
|
|
|
| if (buffer->end_of_stream()) {
|
| + DVLOG(3) << __FUNCTION__ << " Initiating Flush for EOS.";
|
| state_ = kDrainingDecoder;
|
| eos_decode_cb_ = bound_decode_cb;
|
| vda_->Flush();
|
|
|