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

Unified Diff: media/webm/webm_cluster_parser.h

Issue 15342004: Adding VP8 Alpha support in Media Source (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressing comments Created 7 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/pipeline_integration_test.cc ('k') | media/webm/webm_cluster_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/webm/webm_cluster_parser.h
diff --git a/media/webm/webm_cluster_parser.h b/media/webm/webm_cluster_parser.h
index 63d8626942f9ad9f4e87c245502b4826f9bf28f7..e156d47c23b15a4d516ca0dc52bee2ff36488d2e 100644
--- a/media/webm/webm_cluster_parser.h
+++ b/media/webm/webm_cluster_parser.h
@@ -110,9 +110,10 @@ class MEDIA_EXPORT WebMClusterParser : public WebMParserClient {
virtual bool OnBinary(int id, const uint8* data, int size) OVERRIDE;
bool ParseBlock(bool is_simple_block, const uint8* buf, int size,
- int duration);
+ const uint8* additional, int additional_size, int duration);
bool OnBlock(bool is_simple_block, int track_num, int timecode, int duration,
- int flags, const uint8* data, int size);
+ int flags, const uint8* data, int size,
+ const uint8* additional, int additional_size);
// Resets the Track objects associated with each text track.
void ResetTextTracks();
@@ -133,6 +134,9 @@ class MEDIA_EXPORT WebMClusterParser : public WebMParserClient {
scoped_ptr<uint8[]> block_data_;
int block_data_size_;
int64 block_duration_;
+ int64 block_add_id_;
+ scoped_ptr<uint8[]> block_additional_data_;
+ int block_additional_data_size_;
int64 cluster_timecode_;
base::TimeDelta cluster_start_time_;
« no previous file with comments | « media/filters/pipeline_integration_test.cc ('k') | media/webm/webm_cluster_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698