| Index: media/filters/decrypting_audio_decoder.cc
|
| diff --git a/media/filters/decrypting_audio_decoder.cc b/media/filters/decrypting_audio_decoder.cc
|
| index 6074bed534f1b183d6ac3afaca53ae483220b7a8..952eb5ec2a9cd56bf929fb954e91d5c9f9efc38a 100644
|
| --- a/media/filters/decrypting_audio_decoder.cc
|
| +++ b/media/filters/decrypting_audio_decoder.cc
|
| @@ -311,9 +311,9 @@ void DecryptingAudioDecoder::DecryptAndDecodeBuffer(
|
|
|
| // Initialize the |next_output_timestamp_| to be the timestamp of the first
|
| // non-EOS buffer.
|
| - if (output_timestamp_base_ == kNoTimestamp() && !buffer->IsEndOfStream()) {
|
| + if (output_timestamp_base_ == kNoTimestamp() && !buffer->is_end_of_stream()) {
|
| DCHECK_EQ(total_samples_decoded_, 0);
|
| - output_timestamp_base_ = buffer->GetTimestamp();
|
| + output_timestamp_base_ = buffer->get_timestamp();
|
| }
|
|
|
| pending_buffer_to_decode_ = buffer;
|
| @@ -326,8 +326,8 @@ void DecryptingAudioDecoder::DecodePendingBuffer() {
|
| DCHECK_EQ(state_, kPendingDecode) << state_;
|
|
|
| int buffer_size = 0;
|
| - if (!pending_buffer_to_decode_->IsEndOfStream()) {
|
| - buffer_size = pending_buffer_to_decode_->GetDataSize();
|
| + if (!pending_buffer_to_decode_->is_end_of_stream()) {
|
| + buffer_size = pending_buffer_to_decode_->get_data_size();
|
| }
|
|
|
| decryptor_->DecryptAndDecodeAudio(
|
| @@ -394,7 +394,7 @@ void DecryptingAudioDecoder::DeliverFrame(
|
|
|
| if (status == Decryptor::kNeedMoreData) {
|
| DVLOG(2) << "DeliverFrame() - kNeedMoreData";
|
| - if (scoped_pending_buffer_to_decode->IsEndOfStream()) {
|
| + if (scoped_pending_buffer_to_decode->is_end_of_stream()) {
|
| state_ = kDecodeFinished;
|
| base::ResetAndReturn(&read_cb_).Run(kOk, DataBuffer::create_eos_buffer());
|
| return;
|
|
|