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

Unified Diff: media/formats/mp2t/es_parser_h264.h

Issue 1490613005: media config: expand is_encrypted to a struct. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one more tweak in chromecast/common 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/mp2t/es_parser_h264.h
diff --git a/media/formats/mp2t/es_parser_h264.h b/media/formats/mp2t/es_parser_h264.h
index b37cfc117c2833e673cfca16b2a40c1a27fcdba6..1ee536bae6b4c62b233c512e15a27858a201924e 100644
--- a/media/formats/mp2t/es_parser_h264.h
+++ b/media/formats/mp2t/es_parser_h264.h
@@ -5,7 +5,6 @@
#ifndef MEDIA_FORMATS_MP2T_ES_PARSER_H264_H_
#define MEDIA_FORMATS_MP2T_ES_PARSER_H264_H_
-#include <list>
#include <utility>
#include "base/basictypes.h"
@@ -19,6 +18,7 @@
#include "media/formats/mp2t/es_parser.h"
namespace media {
+class EncryptionScheme;
class H264Parser;
struct H264SPS;
class OffsetByteQueue;
@@ -66,7 +66,8 @@ class MEDIA_EXPORT EsParserH264 : public EsParser {
// Update the video decoder config based on an H264 SPS.
// Return true if successful.
- bool UpdateVideoDecoderConfig(const H264SPS* sps);
+ bool UpdateVideoDecoderConfig(const H264SPS* sps,
+ const EncryptionScheme& scheme);
EsAdapterVideo es_adapter_;

Powered by Google App Engine
This is Rietveld 408576698