| 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 36b302715858b584a5d9f7922b70e125e022fa59..da7e80ffaa81d0e310d1587cdafb2877c183c674 100644
|
| --- a/webrtc/modules/video_coding/packet_buffer.h
|
| +++ b/webrtc/modules/video_coding/packet_buffer.h
|
| @@ -48,9 +48,10 @@ class PacketBuffer {
|
|
|
| virtual ~PacketBuffer();
|
|
|
| - // Returns true if |packet| is inserted into the packet buffer,
|
| - // false otherwise. Made virtual for testing.
|
| - virtual bool InsertPacket(const VCMPacket& packet);
|
| + // Returns true if |packet| is inserted into the packet buffer, false
|
| + // otherwise. The PacketBuffer will always take ownership of the
|
| + // |packet.dataPtr| when this function is called. Made virtual for testing.
|
| + virtual bool InsertPacket(VCMPacket* packet);
|
| void ClearTo(uint16_t seq_num);
|
| void Clear();
|
|
|
|
|