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

Unified Diff: media/formats/mpeg/adts_header_parser.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: move some gn defs Created 4 years, 9 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
Index: media/formats/mpeg/adts_header_parser.h
diff --git a/media/formats/mpeg/adts_header_parser.h b/media/formats/mpeg/adts_header_parser.h
index e613015458767b0f80ad78b7eae56bd3f21c4235..e55306a9c5bc755cb7c568797886d255066c5514 100644
--- a/media/formats/mpeg/adts_header_parser.h
+++ b/media/formats/mpeg/adts_header_parser.h
@@ -12,6 +12,7 @@
namespace media {
class AudioDecoderConfig;
+class EncryptionScheme;
// Parses ADTS header |adts_header| (4 bytes) and extracts the information into
// |config| structure if the parsing succeeds. Returns true if the parsing
@@ -19,6 +20,7 @@ class AudioDecoderConfig;
// Replication.
MEDIA_EXPORT bool ParseAdtsHeader(const uint8_t* adts_header,
bool is_sbr,
+ const EncryptionScheme& scheme,
AudioDecoderConfig* config);
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698