Chromium Code Reviews| 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..17bd2ed8c2eb847d2596f06c1b7dc3d9ce9a9b51 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()"; |
|
watk
2016/01/06 20:05:51
parens after EOS?
chcunningham
2016/01/07 02:14:48
Done.
|
| state_ = kDrainingDecoder; |
| eos_decode_cb_ = bound_decode_cb; |
| vda_->Flush(); |