Revert cls (original cl + fixes) 7422-7424 "Add VP9 codec to VCM..."
BUG=3932 R=marpan@google.com Review URL: https://webrtc-codereview.appspot.com/27779004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7470 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -101,9 +101,6 @@ VCMNTEncodeCompleteCallback::SendData(
|
||||
rtpInfo.type.Video.codecHeader.VP8.pictureId =
|
||||
videoHdr->codecHeader.VP8.pictureId;
|
||||
break;
|
||||
case kVideoCodecVP9:
|
||||
// Leave for now, until we add kRtpVideoVp9 to RTP.
|
||||
break;
|
||||
default:
|
||||
assert(false);
|
||||
return -1;
|
||||
|
||||
@ -82,9 +82,6 @@ VCMEncodeCompleteCallback::SendData(
|
||||
rtpInfo.type.Video.codecHeader.VP8.pictureId =
|
||||
videoHdr->codecHeader.VP8.pictureId;
|
||||
break;
|
||||
case webrtc::kRtpVideoGeneric:
|
||||
// Leave for now, until we add kRtpVideoVp9 to RTP.
|
||||
break;
|
||||
default:
|
||||
assert(false);
|
||||
return -1;
|
||||
|
||||
@ -151,7 +151,6 @@ webrtc::RtpVideoCodecTypes ConvertCodecType(const char* plname) {
|
||||
if (strncmp(plname,"VP8" , 3) == 0) {
|
||||
return webrtc::kRtpVideoVp8;
|
||||
} else {
|
||||
// Default value.
|
||||
return webrtc::kRtpVideoGeneric;
|
||||
return webrtc::kRtpVideoNone; // Default value
|
||||
}
|
||||
}
|
||||
|
||||
@ -63,8 +63,6 @@ int ParseArguments(CmdArgs& args) {
|
||||
args.codecName = FLAGS_codec;
|
||||
if (args.codecName == "VP8") {
|
||||
args.codecType = kVideoCodecVP8;
|
||||
} else if (args.codecName == "VP9") {
|
||||
args.codecType = kVideoCodecVP9;
|
||||
} else if (args.codecName == "I420") {
|
||||
args.codecType = kVideoCodecI420;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user