| Index: media/formats/mp4/track_run_iterator.cc
|
| diff --git a/media/formats/mp4/track_run_iterator.cc b/media/formats/mp4/track_run_iterator.cc
|
| index 604074ca727b2b3a4fca1d0d39eab7ade4b3b87c..3c8d49a655a9f5e385276068a9a48186abede22c 100644
|
| --- a/media/formats/mp4/track_run_iterator.cc
|
| +++ b/media/formats/mp4/track_run_iterator.cc
|
| @@ -157,7 +157,8 @@ static bool PopulateSampleInfo(const TrackExtends& trex,
|
| break;
|
|
|
| case kSampleDependsOnReserved:
|
| - MEDIA_LOG(log_cb) << "Reserved value used in sample dependency info.";
|
| + MEDIA_LOG(log_cb, ERROR) << "Reserved value used in sample dependency"
|
| + " info.";
|
| return false;
|
| }
|
| return true;
|
| @@ -518,7 +519,7 @@ scoped_ptr<DecryptConfig> TrackRunIterator::GetDecryptConfig() {
|
|
|
| if (cenc_info_.empty()) {
|
| DCHECK_EQ(0, aux_info_size());
|
| - MEDIA_LOG(log_cb_) << "Aux Info is not available.";
|
| + MEDIA_LOG(log_cb_, ERROR) << "Aux Info is not available.";
|
| return scoped_ptr<DecryptConfig>();
|
| }
|
|
|
| @@ -530,7 +531,7 @@ scoped_ptr<DecryptConfig> TrackRunIterator::GetDecryptConfig() {
|
| if (!cenc_info.subsamples.empty() &&
|
| (!cenc_info.GetTotalSizeOfSubsamples(&total_size) ||
|
| total_size != static_cast<size_t>(sample_size()))) {
|
| - MEDIA_LOG(log_cb_) << "Incorrect CENC subsample size.";
|
| + MEDIA_LOG(log_cb_, ERROR) << "Incorrect CENC subsample size.";
|
| return scoped_ptr<DecryptConfig>();
|
| }
|
|
|
|
|