Add codec name to CodecSpecificInfo and get the codec name stats from there instead.

BUG=webrtc:5687

Review-Url: https://codereview.webrtc.org/2253563002
Cr-Commit-Position: refs/heads/master@{#14012}
This commit is contained in:
perkj
2016-09-01 00:21:16 -07:00
committed by Commit bot
parent ff84afdd29
commit 275afc5d2e
18 changed files with 41 additions and 48 deletions

View File

@ -960,6 +960,7 @@ void VP8EncoderImpl::PopulateCodecSpecific(
bool only_predicting_from_key_frame) {
assert(codec_specific != NULL);
codec_specific->codecType = kVideoCodecVP8;
codec_specific->codec_name = ImplementationName();
CodecSpecificInfoVP8* vp8Info = &(codec_specific->codecSpecific.VP8);
vp8Info->pictureId = picture_id_[stream_idx];
if (pkt.data.frame.flags & VPX_FRAME_IS_KEY) {