git-svn-id: http://webrtc.googlecode.com/svn/trunk@164 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -247,7 +247,18 @@ void VCMEncodedFrameCallback::CopyCodecSpecific(const CodecSpecificInfo& info,
|
||||
RTPVideoTypeHeader** rtp) {
|
||||
switch (info.codecType)
|
||||
{
|
||||
//TODO(hlundin): Implement case for kVideoCodecVP8.
|
||||
case kVideoCodecVP8: {
|
||||
if (info.codecSpecific.VP8.pictureId < 0)
|
||||
{
|
||||
(*rtp)->VP8.pictureId = kNoPictureId;
|
||||
}
|
||||
else
|
||||
{
|
||||
(*rtp)->VP8.pictureId = info.codecSpecific.VP8.pictureId;
|
||||
}
|
||||
(*rtp)->VP8.nonReference = info.codecSpecific.VP8.nonReference;
|
||||
return;
|
||||
}
|
||||
default: {
|
||||
// No codec specific info. Change RTP header pointer to NULL.
|
||||
*rtp = NULL;
|
||||
|
||||
Reference in New Issue
Block a user