Index: media/media_options.gni |
diff --git a/media/media_options.gni b/media/media_options.gni |
index cedcdf7132793b16af8af32d28b0a981f2d924e6..c85902511c1033cafd70dbbcd3c86d2dceb2c149 100644 |
--- a/media/media_options.gni |
+++ b/media/media_options.gni |
@@ -44,6 +44,11 @@ declare_args() { |
# platform. Enable by default for Chromecast. |
enable_hevc_demuxing = proprietary_codecs && is_chromecast |
+ # Enable HLS with SAMPLE-AES decryption. Actual decryption must be provided by |
+ # the platform. Enabled by default on the cast desktop implementation to allow |
+ # unit tests of the MP2TS parsing support. |
+ enable_hls_sample_aes = proprietary_codecs && is_cast_desktop_build |
+ |
# TODO(GYP): This should be a platform define. |
is_openbsd = false |
} |