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

Unified Diff: media/formats/mp2t/es_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: rebase 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
Index: media/formats/mp2t/es_parser.h
diff --git a/media/formats/mp2t/es_parser.h b/media/formats/mp2t/es_parser.h
index b9a813bade36d0d94c11ae30c67e638a5dcb459b..7fbb1f3d03e8530de3c0c00b25e80e0ba75b6c7b 100644
--- a/media/formats/mp2t/es_parser.h
+++ b/media/formats/mp2t/es_parser.h
@@ -20,6 +20,7 @@
namespace media {
+class DecryptConfig;
class OffsetByteQueue;
class StreamParserBuffer;
@@ -27,7 +28,8 @@ namespace mp2t {
class MEDIA_EXPORT EsParser {
public:
- typedef base::Callback<void(scoped_refptr<StreamParserBuffer>)> EmitBufferCB;
+ using EmitBufferCB = base::Callback<void(scoped_refptr<StreamParserBuffer>)>;
+ using GetDecryptConfigCB = base::Callback<const DecryptConfig*()>;
EsParser();
virtual ~EsParser();

Powered by Google App Engine
This is Rietveld 408576698