Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(427)

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

Issue 2990463002: [EXPERIMENTAL] Generic stereo codec with index header sending merged frames
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/video_coding/packet.cc ('k') | webrtc/modules/video_coding/packet_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e0f058a56c85edf145a34113568eae1c49e0cff9..ec02d73fb2e648afae05bb0f7064debf82681486 100644
--- a/webrtc/modules/video_coding/packet_buffer.h
+++ b/webrtc/modules/video_coding/packet_buffer.h
@@ -64,6 +64,8 @@ class PacketBuffer {
int AddRef() const;
int Release() const;
+ size_t size_ GUARDED_BY(crit_);
+
protected:
// Both |start_buffer_size| and |max_buffer_size| must be a power of 2.
PacketBuffer(Clock* clock,
@@ -128,7 +130,6 @@ class PacketBuffer {
rtc::CriticalSection crit_;
// Buffer size_ and max_size_ must always be a power of two.
- size_t size_ GUARDED_BY(crit_);
const size_t max_size_;
// The fist sequence number currently in the buffer.
« no previous file with comments | « webrtc/modules/video_coding/packet.cc ('k') | webrtc/modules/video_coding/packet_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698