VCM: Adding API for the size(duration) of the jitter buffer.
Refers to the duration in time of the frames which are ready to be sent to the decoder. Review URL: https://webrtc-codereview.appspot.com/1319004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3903 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -72,6 +72,16 @@ void VCMDecodingState::SetState(const VCMFrameBuffer* frame) {
|
||||
in_initial_state_ = false;
|
||||
}
|
||||
|
||||
void VCMDecodingState::CopyFrom(const VCMDecodingState& state) {
|
||||
sequence_num_ = state.sequence_num_;
|
||||
time_stamp_ = state.time_stamp_;
|
||||
picture_id_ = state.picture_id_;
|
||||
temporal_id_ = state.temporal_id_;
|
||||
tl0_pic_id_ = state.tl0_pic_id_;
|
||||
full_sync_ = state.full_sync_;
|
||||
in_initial_state_ = state.in_initial_state_;
|
||||
}
|
||||
|
||||
void VCMDecodingState::SetStateOneBack(const VCMFrameBuffer* frame) {
|
||||
assert(frame != NULL && frame->GetHighSeqNum() >= 0);
|
||||
sequence_num_ = static_cast<uint16_t>(frame->GetHighSeqNum()) - 1u;
|
||||
|
||||
Reference in New Issue
Block a user