Migrate modules/video_coding to webrtc::Mutex.
Bug: webrtc:11567 Change-Id: I8023fbe7595f7ba8ae7c7db3583fc2e560ec3df2 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/178803 Commit-Queue: Markus Handell <handellm@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31644}
This commit is contained in:
committed by
Commit Bot
parent
fb6f975401
commit
6deec38ede
@ -19,8 +19,8 @@
|
||||
#include "modules/video_coding/include/video_codec_interface.h"
|
||||
#include "modules/video_coding/timestamp_map.h"
|
||||
#include "modules/video_coding/timing.h"
|
||||
#include "rtc_base/critical_section.h"
|
||||
#include "rtc_base/experiments/field_trial_parser.h"
|
||||
#include "rtc_base/synchronization/mutex.h"
|
||||
#include "rtc_base/thread_checker.h"
|
||||
|
||||
namespace webrtc {
|
||||
@ -70,7 +70,7 @@ class VCMDecodedFrameCallback : public DecodedImageCallback {
|
||||
// from the same thread, and therfore a lock is not required to access it.
|
||||
VCMReceiveCallback* _receiveCallback = nullptr;
|
||||
VCMTiming* _timing;
|
||||
rtc::CriticalSection lock_;
|
||||
Mutex lock_;
|
||||
VCMTimestampMap _timestampMap RTC_GUARDED_BY(lock_);
|
||||
int64_t ntp_offset_;
|
||||
// Set by the field trial WebRTC-SlowDownDecoder to simulate a slow decoder.
|
||||
|
||||
Reference in New Issue
Block a user