Release the critial section between recursive calls in FrameBuffer::NextFrame.
This is a revert of https://codereview.webrtc.org/2749563002 and a fix to not keep the lock in between recursive calls. BUG=webrtc:7331 Review-Url: https://codereview.webrtc.org/2750033002 Cr-Commit-Position: refs/heads/master@{#17256}
This commit is contained in:
@ -159,7 +159,7 @@ class FrameBuffer {
|
||||
FrameMap::iterator next_frame_it_ GUARDED_BY(crit_);
|
||||
int num_frames_history_ GUARDED_BY(crit_);
|
||||
int num_frames_buffered_ GUARDED_BY(crit_);
|
||||
volatile int stopped_;
|
||||
bool stopped_ GUARDED_BY(crit_);
|
||||
VCMVideoProtection protection_mode_ GUARDED_BY(crit_);
|
||||
VCMReceiveStatisticsCallback* const stats_callback_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user