Commit 65235807 authored by tyoverby@chromium.org's avatar tyoverby@chromium.org

Fixes a duplication and bad name choice for logging media information.

BUG=260005

Review URL: https://chromiumcodereview.appspot.com/23691042

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222088 0039d316-1c4b-4281-b951-d872f2087c98
parent 53a21d08
......@@ -595,8 +595,6 @@ void FFmpegDemuxer::OnFindStreamInfoDone(const PipelineStatusCB& status_cb,
media_log_->SetStringProperty("audio_codec_name", codec->name);
}
media_log_->SetIntegerProperty("audio_sample_rate",
audio_codec->sample_rate);
media_log_->SetIntegerProperty("audio_channels_count",
audio_codec->channels);
media_log_->SetIntegerProperty("audio_samples_per_second",
......@@ -637,7 +635,7 @@ void FFmpegDemuxer::OnFindStreamInfoDone(const PipelineStatusCB& status_cb,
media_log_->SetDoubleProperty("max_duration", max_duration.InSecondsF());
media_log_->SetDoubleProperty("start_time", start_time_.InSecondsF());
media_log_->SetDoubleProperty("filesize_in_bytes",
media_log_->SetDoubleProperty("total_bytes",
static_cast<double>(filesize_in_bytes));
media_log_->SetIntegerProperty("bitrate", bitrate_);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment