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

Unified Diff: media/media_options.gni

Issue 1517473002: Support HLS MPEG2 TS with SAMPLE-AES encryption. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@encryption_scheme
Patch Set: ddorwin comments Created 4 years, 7 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/media_options.gni
diff --git a/media/media_options.gni b/media/media_options.gni
index 72f100e79c7512df9f605836c0e1256bdf627e5e..f972b5b4e60273430c79b6f6097342898b95cc0d 100644
--- a/media/media_options.gni
+++ b/media/media_options.gni
@@ -43,10 +43,18 @@ declare_args() {
# platform. Enable by default for Chromecast.
enable_hevc_demuxing = proprietary_codecs && is_chromecast
+ # Enable HLS with SAMPLE-AES decryption.
+ # Enabled by default on the cast desktop implementation to allow unit tests of
+ # MP2TS parsing support.
+ enable_hls_sample_aes = proprietary_codecs && is_cast_desktop_build
+
# TODO(GYP): This should be a platform define.
is_openbsd = false
}
+# enable_hls_sample_aes can only be true if enable_mse_mpeg2ts_stream_parser is.
+assert(enable_mse_mpeg2ts_stream_parser || !enable_hls_sample_aes)
+
# Use a second declare_args() to pick up possible overrides of |use_cras|.
declare_args() {
# Enables runtime selection of PulseAudio library.

Powered by Google App Engine
This is Rietveld 408576698