Reland "Rename stereo video codec to multiplex"
This is a reland of bbdabe50db0cf09f6007dda12a6476dc4602b174. This was reverted because of breaking internal build. I contacted sheriff and looked at logs but cannot find anything related to this CL. This was landed with #3850 build which caused exception, but 3847-3855 seem to all have failed. I am relanding to see if it will work this time or it will give some related error message that can guide me. Original change's description: > Rename stereo video codec to multiplex > > This CL only does the rename from"stereo" to multiplex". With this we have a > better name that doesn't clash with audio's usage of stereo. > > Bug: webrtc:7671 > Change-Id: Iebc3fc20839025f1bc8bcf0e16141bf9744ef652 > Reviewed-on: https://webrtc-review.googlesource.com/43242 > Commit-Queue: Emircan Uysaler <emircan@webrtc.org> > Reviewed-by: Niklas Enbom <niklas.enbom@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#21769} TBR=niklas.enbom@webrtc.org Bug: webrtc:7671 Change-Id: I5934abad1ce28acf02842ea8ee2af7768a826eb8 Reviewed-on: https://webrtc-review.googlesource.com/44520 Reviewed-by: Emircan Uysaler <emircan@webrtc.org> Commit-Queue: Emircan Uysaler <emircan@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21780}
This commit is contained in:
committed by
Commit Bot
parent
65c0a60302
commit
4954a77cf8
@ -78,7 +78,7 @@ static const char* kPayloadNameI420 = "I420";
|
||||
static const char* kPayloadNameRED = "RED";
|
||||
static const char* kPayloadNameULPFEC = "ULPFEC";
|
||||
static const char* kPayloadNameGeneric = "Generic";
|
||||
static const char* kPayloadNameStereo = "Stereo";
|
||||
static const char* kPayloadNameMultiplex = "Multiplex";
|
||||
|
||||
static bool CodecNamesEq(const char* name1, const char* name2) {
|
||||
return _stricmp(name1, name2) == 0;
|
||||
@ -99,7 +99,7 @@ const char* CodecTypeToPayloadString(VideoCodecType type) {
|
||||
case kVideoCodecULPFEC:
|
||||
return kPayloadNameULPFEC;
|
||||
// Other codecs default to generic.
|
||||
case kVideoCodecStereo:
|
||||
case kVideoCodecMultiplex:
|
||||
case kVideoCodecFlexfec:
|
||||
case kVideoCodecGeneric:
|
||||
case kVideoCodecUnknown:
|
||||
@ -121,8 +121,8 @@ VideoCodecType PayloadStringToCodecType(const std::string& name) {
|
||||
return kVideoCodecRED;
|
||||
if (CodecNamesEq(name.c_str(), kPayloadNameULPFEC))
|
||||
return kVideoCodecULPFEC;
|
||||
if (CodecNamesEq(name.c_str(), kPayloadNameStereo))
|
||||
return kVideoCodecStereo;
|
||||
if (CodecNamesEq(name.c_str(), kPayloadNameMultiplex))
|
||||
return kVideoCodecMultiplex;
|
||||
return kVideoCodecGeneric;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user