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

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: 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/mp2t/es_parser.h
diff --git a/media/formats/mp2t/es_parser.h b/media/formats/mp2t/es_parser.h
index ee9d6e89c67a84e06a215cdd30bc0b1c4dac60d2..f1a66483e2eab0e6db2a882c2b41795b61e29501 100644
--- a/media/formats/mp2t/es_parser.h
+++ b/media/formats/mp2t/es_parser.h
@@ -19,6 +19,7 @@
namespace media {
+class DecryptConfig;
class OffsetByteQueue;
class StreamParserBuffer;
@@ -26,7 +27,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