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

Unified Diff: media/formats/mp2t/ts_section_pmt.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 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/formats/mp2t/ts_section_cets_pssh.cc ('k') | media/formats/mp2t/ts_section_pmt.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/mp2t/ts_section_pmt.h
diff --git a/media/formats/mp2t/ts_section_pmt.h b/media/formats/mp2t/ts_section_pmt.h
index f390fb3c53c342aea55998af0dad9dc2a9c1ff9f..816fd30ce0fd131dba3c2863e1c95e8833edce3b 100644
--- a/media/formats/mp2t/ts_section_pmt.h
+++ b/media/formats/mp2t/ts_section_pmt.h
@@ -8,6 +8,7 @@
#include "base/callback.h"
#include "base/compiler_specific.h"
#include "base/macros.h"
+#include "media/formats/mp2t/descriptors.h"
#include "media/formats/mp2t/ts_section_psi.h"
namespace media {
@@ -15,11 +16,10 @@ namespace mp2t {
class TsSectionPmt : public TsSectionPsi {
public:
- // RegisterPesCb::Run(int pes_pid, int stream_type);
- // Stream type is defined in
- // "Table 2-34 – Stream type assignments" in H.222
+ // |stream_type| is defined in "Table 2-34 – Stream type assignments" in H.222
// TODO(damienv): add the program number.
- typedef base::Callback<void(int, int)> RegisterPesCb;
+ using RegisterPesCb = base::Callback<
+ void(int pes_pid, int stream_type, const Descriptors& descriptors)>;
explicit TsSectionPmt(const RegisterPesCb& register_pes_cb);
~TsSectionPmt() override;
« no previous file with comments | « media/formats/mp2t/ts_section_cets_pssh.cc ('k') | media/formats/mp2t/ts_section_pmt.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698