Update talk to 50918584.
Together with Stefan's http://review.webrtc.org/1960004/. R=mallinath@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2048004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4556 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -46,6 +46,21 @@
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
RtpData* NullObjectRtpData() {
|
||||
static NullRtpData null_rtp_data;
|
||||
return &null_rtp_data;
|
||||
}
|
||||
|
||||
RtpFeedback* NullObjectRtpFeedback() {
|
||||
static NullRtpFeedback null_rtp_feedback;
|
||||
return &null_rtp_feedback;
|
||||
}
|
||||
|
||||
RtpAudioFeedback* NullObjectRtpAudioFeedback() {
|
||||
static NullRtpAudioFeedback null_rtp_audio_feedback;
|
||||
return &null_rtp_audio_feedback;
|
||||
}
|
||||
|
||||
namespace ModuleRTPUtility {
|
||||
|
||||
enum {
|
||||
@ -188,9 +203,9 @@ void RTPPayload::SetType(RtpVideoCodecTypes videoType) {
|
||||
type = videoType;
|
||||
|
||||
switch (type) {
|
||||
case kRtpGenericVideo:
|
||||
case kRtpVideoGeneric:
|
||||
break;
|
||||
case kRtpVp8Video: {
|
||||
case kRtpVideoVp8: {
|
||||
info.VP8.nonReferenceFrame = false;
|
||||
info.VP8.beginningOfPartition = false;
|
||||
info.VP8.partitionID = 0;
|
||||
@ -567,9 +582,9 @@ bool RTPPayloadParser::Parse(RTPPayload& parsedPacket) const {
|
||||
parsedPacket.SetType(_videoType);
|
||||
|
||||
switch (_videoType) {
|
||||
case kRtpGenericVideo:
|
||||
case kRtpVideoGeneric:
|
||||
return ParseGeneric(parsedPacket);
|
||||
case kRtpVp8Video:
|
||||
case kRtpVideoVp8:
|
||||
return ParseVP8(parsedPacket);
|
||||
default:
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user