| 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..36b302715858b584a5d9f7922b70e125e022fa59 100644
|
| --- a/webrtc/modules/video_coding/packet_buffer.h
|
| +++ b/webrtc/modules/video_coding/packet_buffer.h
|
| @@ -99,8 +99,9 @@ class PacketBuffer {
|
| EXCLUSIVE_LOCKS_REQUIRED(crit_);
|
|
|
| // Test if all packets of a frame has arrived, and if so, creates a frame.
|
| - // May create multiple frames per invocation.
|
| - void FindFrames(uint16_t seq_num) EXCLUSIVE_LOCKS_REQUIRED(crit_);
|
| + // Returns a vector of received frames.
|
| + std::vector<std::unique_ptr<RtpFrameObject>> FindFrames(uint16_t seq_num)
|
| + EXCLUSIVE_LOCKS_REQUIRED(crit_);
|
|
|
| // Copy the bitstream for |frame| to |destination|.
|
| // Virtual for testing.
|
| @@ -108,7 +109,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.
|
|
|