Index: media/mojo/common/mojo_decoder_buffer_converter.cc |
diff --git a/media/mojo/common/mojo_decoder_buffer_converter.cc b/media/mojo/common/mojo_decoder_buffer_converter.cc |
index 77cf82958442f2da14b1b933d88b2a929615c23c..d84ee810354a88cce0bca418ce4b815d37f7775b 100644 |
--- a/media/mojo/common/mojo_decoder_buffer_converter.cc |
+++ b/media/mojo/common/mojo_decoder_buffer_converter.cc |
@@ -29,10 +29,10 @@ std::unique_ptr<mojo::DataPipe> CreateDataPipe(DemuxerStream::Type type) { |
// TODO(timav): Consider capacity calculation based on AudioDecoderConfig. |
options.capacity_num_bytes = 512 * 1024; |
} else if (type == DemuxerStream::VIDEO) { |
- // Video can get quite large; at 4K, VP9 delivers packets which are ~1MB in |
- // size; so allow for some head room. |
+ // Video can get quite large; at 4K, VP9 delivers packets which are larger |
xhwang
2016/09/27 16:38:12
nit: "which are larger than 2MB" sounds like all p
servolk
2016/09/27 17:05:18
Done.
|
+ // than 2MB in size; so allow for some head room. |
// TODO(xhwang, sandersd): Provide a better way to customize this value. |
- options.capacity_num_bytes = 2 * (1024 * 1024); |
+ options.capacity_num_bytes = 3 * (1024 * 1024); |
xhwang
2016/09/27 16:38:12
When it's 2MB, I wonder whether we will have perfo
servolk
2016/09/27 17:05:18
AFAIR IPC performance has never been a performance
|
} else { |
NOTREACHED() << "Unsupported type: " << type; |
// Choose an arbitrary size. |