Workaround for PacketBuffer bug.
There exist a bug in the video_coding::PacketBuffer which triggers when a frame is the same size as the buffer. A trivial workaround is to increase the start size to something big so that this never happens in practice. The bug has been fixed but we still want to test the workaround in ToT, which is why this CL exist. BUG=webrtc:8028, chromium:752886 R=stefan@webrtc.org Review-Url: https://codereview.webrtc.org/2994093002 . Cr-Commit-Position: refs/heads/master@{#19308}
This commit is contained in:
parent
4708537f0d
commit
3bf97cf060
@ -43,7 +43,9 @@
|
||||
namespace webrtc {
|
||||
|
||||
namespace {
|
||||
constexpr int kPacketBufferStartSize = 32;
|
||||
// TODO(philipel): Change kPacketBufferStartSize back to 32 in M63 see:
|
||||
// crbug.com/752886
|
||||
constexpr int kPacketBufferStartSize = 512;
|
||||
constexpr int kPacketBufferMaxSixe = 2048;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user