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

@ -90,7 +90,9 @@ union CodecSpecificInfoUnion {
// must be fitted with a copy-constructor. This is because it is copied
// in the copy-constructor of VCMEncodedFrame.
struct CodecSpecificInfo {
CodecSpecificInfo() : codecType(kVideoCodecUnknown), codec_name(nullptr) {}
VideoCodecType codecType;
const char* codec_name;
CodecSpecificInfoUnion codecSpecific;
};