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

Unified Diff: media/formats/mpeg/adts_constants.h

Issue 1517473002: Support HLS MPEG2 TS with SAMPLE-AES encryption. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@encryption_scheme
Patch Set: tidying up prior to review Created 5 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
Index: media/formats/mpeg/adts_constants.h
diff --git a/media/formats/mpeg/adts_constants.h b/media/formats/mpeg/adts_constants.h
index aa8ea2015c8c6bfb23b82cf6c1fd6188c4fc9708..1156f1ea508c3cec709a86200b806357359b2d5b 100644
--- a/media/formats/mpeg/adts_constants.h
+++ b/media/formats/mpeg/adts_constants.h
@@ -14,6 +14,8 @@ namespace media {
enum {
kADTSHeaderMinSize = 7,
+ kADTSHeaderSizeNoCrc = 7,
ddorwin 2015/12/10 20:10:59 Is this relevant to this CL?
dougsteed 2015/12/14 22:51:46 Yes. See formats/mp2t/es_parser_adts.cc
+ kADTSHeaderSizeWithCrc = 9,
kSamplesPerAACFrame = 1024,
};

Powered by Google App Engine
This is Rietveld 408576698