| Index: media/formats/webm/webm_video_client.cc
|
| diff --git a/media/formats/webm/webm_video_client.cc b/media/formats/webm/webm_video_client.cc
|
| index 592475f092c996531e949c4fe824c1fd70666a03..4b0b2676b1fc85c5da1929c1cdc37a40eac4e5de 100644
|
| --- a/media/formats/webm/webm_video_client.cc
|
| +++ b/media/formats/webm/webm_video_client.cc
|
| @@ -44,7 +44,7 @@ bool WebMVideoClient::InitializeConfig(
|
| video_codec = kCodecVP9;
|
| profile = VP9PROFILE_ANY;
|
| } else {
|
| - MEDIA_LOG(log_cb_) << "Unsupported video codec_id " << codec_id;
|
| + MEDIA_LOG(log_cb_, ERROR) << "Unsupported video codec_id " << codec_id;
|
| return false;
|
| }
|
|
|
| @@ -83,7 +83,8 @@ bool WebMVideoClient::InitializeConfig(
|
| if (display_width_ <= 0 || display_height_ <= 0)
|
| return false;
|
| } else {
|
| - MEDIA_LOG(log_cb_) << "Unsupported display unit type " << display_unit_;
|
| + MEDIA_LOG(log_cb_, ERROR) << "Unsupported display unit type "
|
| + << display_unit_;
|
| return false;
|
| }
|
| gfx::Size natural_size = gfx::Size(display_width_, display_height_);
|
| @@ -139,8 +140,9 @@ bool WebMVideoClient::OnUInt(int id, int64 val) {
|
| }
|
|
|
| if (*dst != -1) {
|
| - MEDIA_LOG(log_cb_) << "Multiple values for id " << std::hex << id
|
| - << " specified (" << *dst << " and " << val << ")";
|
| + MEDIA_LOG(log_cb_, ERROR) << "Multiple values for id " << std::hex << id
|
| + << " specified (" << *dst << " and " << val
|
| + << ")";
|
| return false;
|
| }
|
|
|
|
|