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

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: mojo changes; Message->base::Pickle Created 4 years, 10 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_h264.h
diff --git a/media/formats/mp2t/es_parser_h264.h b/media/formats/mp2t/es_parser_h264.h
index 9ce8ea02c741899fb6356387cc6c734ee787fb87..184ac0798fb428e6d4fdc9b2deb0042495a0fea8 100644
--- a/media/formats/mp2t/es_parser_h264.h
+++ b/media/formats/mp2t/es_parser_h264.h
@@ -7,7 +7,6 @@
#include <stdint.h>
-#include <list>
#include <utility>
#include "base/callback.h"
@@ -21,6 +20,7 @@
#include "media/formats/mp2t/es_parser.h"
namespace media {
+class EncryptionScheme;
class H264Parser;
struct H264SPS;
class OffsetByteQueue;
@@ -70,7 +70,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,
ddorwin 2016/03/01 02:17:42 This should probably be passed by const ref. (Shou
+ const EncryptionScheme& scheme);
EsAdapterVideo es_adapter_;

Powered by Google App Engine
This is Rietveld 408576698