| 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 5ea398ef06ffdaf84aef15f195cce3909cbb5076..1bbf597aefb434b61c6dfa0181478fb01ebd348f 100644
|
| --- a/media/formats/webm/webm_video_client.cc
|
| +++ b/media/formats/webm/webm_video_client.cc
|
| @@ -30,9 +30,11 @@ void WebMVideoClient::Reset() {
|
| alpha_mode_ = -1;
|
| }
|
|
|
| -bool WebMVideoClient::InitializeConfig(
|
| - const std::string& codec_id, const std::vector<uint8>& codec_private,
|
| - bool is_encrypted, VideoDecoderConfig* config) {
|
| +bool WebMVideoClient::InitializeConfig(const std::string& codec_id,
|
| + const std::vector<uint8>& codec_private,
|
| + bool is_encrypted,
|
| + bool live_mode,
|
| + VideoDecoderConfig* config) {
|
| DCHECK(config);
|
|
|
| VideoCodec video_codec = kUnknownVideoCodec;
|
| @@ -98,7 +100,7 @@ bool WebMVideoClient::InitializeConfig(
|
|
|
| config->Initialize(
|
| video_codec, profile, format, coded_size, visible_rect, natural_size,
|
| - extra_data, extra_data_size, is_encrypted, true);
|
| + extra_data, extra_data_size, is_encrypted, live_mode, true);
|
| return config->IsValidConfig();
|
| }
|
|
|
|
|