Index: media/filters/fake_video_decoder.cc |
diff --git a/media/filters/fake_video_decoder.cc b/media/filters/fake_video_decoder.cc |
index 0f171999783f161a65bf38c2662f76d15655ad6b..28913a4e2c4a659dd211be32fce901084b876ab1 100644 |
--- a/media/filters/fake_video_decoder.cc |
+++ b/media/filters/fake_video_decoder.cc |
@@ -71,6 +71,7 @@ void FakeVideoDecoder::Decode(const scoped_refptr<DecoderBuffer>& buffer, |
scoped_refptr<VideoFrame> video_frame = VideoFrame::CreateColorFrame( |
current_config_.coded_size(), 0, 0, 0, buffer->timestamp()); |
decoded_frames_.push_back(video_frame); |
+ LOG(ERROR) << "Queue " << decoded_frames_.size(); |
Ami GONE FROM CHROMIUM
2014/04/16 01:00:00
drop?
Sergey Ulanov
2014/04/16 01:44:14
Done.
|
if (decoded_frames_.size() <= static_cast<size_t>(decoding_delay_)) { |
decode_cb_.RunOrHold(kNotEnoughData, scoped_refptr<VideoFrame>()); |
@@ -80,6 +81,7 @@ void FakeVideoDecoder::Decode(const scoped_refptr<DecoderBuffer>& buffer, |
scoped_refptr<VideoFrame> frame = decoded_frames_.front(); |
decoded_frames_.pop_front(); |
+ LOG(ERROR) << "Queue " << decoded_frames_.size(); |
Ami GONE FROM CHROMIUM
2014/04/16 01:00:00
drop?
Sergey Ulanov
2014/04/16 01:44:14
Done.
|
decode_cb_.RunOrHold(kOk, frame); |
} |
@@ -115,6 +117,7 @@ scoped_refptr<VideoFrame> FakeVideoDecoder::GetDecodeOutput() { |
return NULL; |
scoped_refptr<VideoFrame> out = decoded_frames_.front(); |
decoded_frames_.pop_front(); |
+ LOG(ERROR) << "Queue " << decoded_frames_.size(); |
Ami GONE FROM CHROMIUM
2014/04/16 01:00:00
drop?
Sergey Ulanov
2014/04/16 01:44:14
Done.
|
return out; |
} |