Fix framerate sent to account for actually sent frames.
TESTS=trybots BUG=1481 Review URL: https://webrtc-codereview.appspot.com/1195005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3682 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -221,7 +221,8 @@ VCMEncodedFrameCallback::Encoded(
|
||||
}
|
||||
_encodedBytes = encodedBytes;
|
||||
if (_mediaOpt != NULL) {
|
||||
_mediaOpt->UpdateWithEncodedData(_encodedBytes, frameType);
|
||||
_mediaOpt->UpdateWithEncodedData(_encodedBytes, encodedImage._timeStamp,
|
||||
frameType);
|
||||
if (_internalSource)
|
||||
{
|
||||
return _mediaOpt->DropFrame(); // Signal to encoder to drop next frame
|
||||
|
||||
Reference in New Issue
Block a user