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

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

Issue 1966673002: media: Fix WebM keyframe detection in BlockGroup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add unit tests with keyframe verification Created 4 years, 7 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 | « media/filters/chunk_demuxer_unittest.cc ('k') | media/formats/webm/cluster_builder.cc » ('j') | no next file with comments »
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 07c2d7a83e6da7a80eff3dea476acd3502778ebd..a708cde6fe6b975a31a30e8d141d7520c5d8e3f8 100644
--- a/media/formats/webm/cluster_builder.h
+++ b/media/formats/webm/cluster_builder.h
@@ -43,11 +43,13 @@ class ClusterBuilder {
int64_t timecode,
int duration,
int flags,
+ bool is_key_frame,
const uint8_t* data,
int size);
void AddBlockGroupWithoutBlockDuration(int track_num,
int64_t timecode,
int flags,
+ bool is_key_frame,
const uint8_t* data,
int size);
@@ -60,6 +62,7 @@ class ClusterBuilder {
bool include_block_duration,
int duration,
int flags,
+ bool is_key_frame,
const uint8_t* data,
int size);
void Reset();
« no previous file with comments | « media/filters/chunk_demuxer_unittest.cc ('k') | media/formats/webm/cluster_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698