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

Unified Diff: media/blink/multibuffer_reader.h

Issue 2477513003: media: Increase preloading and max buffer for high-bitrate videos (Closed)
Patch Set: logic simplified, test added Created 4 years, 1 month 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 | « media/blink/multibuffer_data_source_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/multibuffer_reader.h
diff --git a/media/blink/multibuffer_reader.h b/media/blink/multibuffer_reader.h
index cd64982086dcb4d721a5cae35964cc20f3141823..8135d562dd127f348aba93ee5abe56f334b8b372 100644
--- a/media/blink/multibuffer_reader.h
+++ b/media/blink/multibuffer_reader.h
@@ -96,6 +96,8 @@ class MEDIA_BLINK_EXPORT MultiBufferReader
int64_t preload_low() const { return preload_low_; }
private:
+ friend class MultibufferDataSourceTest;
+
// Returns the block for a particular byte position.
MultiBufferBlockId block(int64_t byte_pos) const {
return byte_pos >> multibuffer_->block_size_shift();
« no previous file with comments | « media/blink/multibuffer_data_source_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698