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

Unified Diff: media/formats/webm/cluster_builder.h

Issue 238273002: Adds WebMClusterParserTest coverage for duration default/estimation/fallback logic (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix lint errors Created 6 years, 8 months 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/formats/webm/cluster_builder.cc » ('j') | media/formats/webm/cluster_builder.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/webm/cluster_builder.h
diff --git a/media/formats/webm/cluster_builder.h b/media/formats/webm/cluster_builder.h
index 98f0f6ce973fd3a97ae9280bc658e17b2d1d938a..ac5464ad18445a980acd43333d0f251343a5015f 100644
--- a/media/formats/webm/cluster_builder.h
+++ b/media/formats/webm/cluster_builder.h
@@ -36,10 +36,15 @@ class ClusterBuilder {
const uint8* data, int size);
void AddBlockGroup(int track_num, int64 timecode, int duration, int flags,
const uint8* data, int size);
+ void AddBlockGroupWithoutBlockDuration(int track_num, int64 timecode,
+ int flags, const uint8* data, int size);
scoped_ptr<Cluster> Finish();
private:
+ void AddBlockGroupInternal(int track_num, int64 timecode,
+ bool include_block_duration, int duration,
+ int flags, const uint8* data, int size);
void Reset();
void ExtendBuffer(int bytes_needed);
void UpdateUInt64(int offset, int64 value);
« no previous file with comments | « no previous file | media/formats/webm/cluster_builder.cc » ('j') | media/formats/webm/cluster_builder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698