Chromium Code Reviews

Unified Diff: webrtc/modules/video_coding/packet_buffer.h

Issue 2480293002: New jitter buffer experiment. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/modules/video_coding/packet_buffer.h
diff --git a/webrtc/modules/video_coding/packet_buffer.h b/webrtc/modules/video_coding/packet_buffer.h
index 15645f607a86cd9df2c4df946ae6e32f63ad497c..9175016b28af7db794da79e532b0fa8e6155d98c 100644
--- a/webrtc/modules/video_coding/packet_buffer.h
+++ b/webrtc/modules/video_coding/packet_buffer.h
@@ -108,7 +108,8 @@ class PacketBuffer {
// Get the packet with sequence number |seq_num|.
// Virtual for testing.
- virtual VCMPacket* GetPacket(uint16_t seq_num);
+ virtual VCMPacket* GetPacket(uint16_t seq_num)
+ EXCLUSIVE_LOCKS_REQUIRED(crit_);
// Mark all slots used by |frame| as not used.
// Virtual for testing.

Powered by Google App Engine