Chromium Code Reviews| Index: media/formats/mp4/track_run_iterator.h |
| diff --git a/media/formats/mp4/track_run_iterator.h b/media/formats/mp4/track_run_iterator.h |
| index a04f2becb5c0f44b6d35f37524a3cbd49e7d6deb..16f0359ab3ce361763ed4a7eaa63f369aeb5c2c3 100644 |
| --- a/media/formats/mp4/track_run_iterator.h |
| +++ b/media/formats/mp4/track_run_iterator.h |
| @@ -17,6 +17,7 @@ |
| #include "media/base/media_log.h" |
| #include "media/base/stream_parser_buffer.h" |
| #include "media/formats/mp4/box_definitions.h" |
| +#include "media/media_features.h" |
| namespace media { |
| @@ -99,6 +100,9 @@ class MEDIA_EXPORT TrackRunIterator { |
| bool IsSampleEncrypted(size_t sample_index) const; |
| uint8_t GetIvSize(size_t sample_index) const; |
| const std::vector<uint8_t>& GetKeyId(size_t sample_index) const; |
| +#if BUILDFLAG(ENABLE_CBCS_ENCRYPTION_SCHEME) |
| + bool ApplyConstantIv(size_t sample_index, SampleEncryptionEntry& entry) const; |
|
kqyang
2016/10/12 22:16:52
s/SampleEncryptionEntry&/SampleEncryptionEntry*/
dougsteed
2016/10/14 21:24:36
Done.
|
| +#endif |
| const Movie* moov_; |
| scoped_refptr<MediaLog> media_log_; |