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

Unified Diff: media/base/byte_queue.h

Issue 9010001: Fix ChunkDemuxer seeks that occur during a partially parsed cluster. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits & rebase Created 9 years 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 | « no previous file | media/base/byte_queue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/byte_queue.h
diff --git a/media/base/byte_queue.h b/media/base/byte_queue.h
index 69f2728ef3fdedf3a27a57ff8e1fae3cd2933dc1..d3ef6058f57bd4f07fb05b36fd56ab5b6bbeedd0 100644
--- a/media/base/byte_queue.h
+++ b/media/base/byte_queue.h
@@ -20,6 +20,9 @@ class ByteQueue {
ByteQueue();
~ByteQueue();
+ // Reset the queue to the empty state.
+ void Reset();
+
// Appends new bytes onto the end of the queue.
void Push(const uint8* data, int size);
« no previous file with comments | « no previous file | media/base/byte_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698