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

Side by Side 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: rebase Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/chromecast_build.gni") 5 import("//build/config/chromecast_build.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/headless_build.gni") 7 import("//build/config/headless_build.gni")
8 8
9 declare_args() { 9 declare_args() {
10 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of 10 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of
(...skipping 26 matching lines...) Expand all
37 # it only provides demuxing, and is only useful for AC3/EAC3 audio 37 # it only provides demuxing, and is only useful for AC3/EAC3 audio
38 # pass-through to HDMI sink on Chromecast. 38 # pass-through to HDMI sink on Chromecast.
39 enable_ac3_eac3_audio_demuxing = proprietary_codecs && is_chromecast 39 enable_ac3_eac3_audio_demuxing = proprietary_codecs && is_chromecast
40 40
41 enable_mse_mpeg2ts_stream_parser = proprietary_codecs && is_chromecast 41 enable_mse_mpeg2ts_stream_parser = proprietary_codecs && is_chromecast
42 42
43 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the 43 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the
44 # platform. Enable by default for Chromecast. 44 # platform. Enable by default for Chromecast.
45 enable_hevc_demuxing = proprietary_codecs && is_chromecast 45 enable_hevc_demuxing = proprietary_codecs && is_chromecast
46 46
47 # Enable HLS with SAMPLE-AES decryption. Actual decryption must be provided by
48 # the platform. Enabled by default on the cast desktop implementation to allow
49 # unit tests of the MP2TS parsing support.
50 enable_hls_sample_aes = proprietary_codecs && is_cast_desktop_build
slan 2016/03/18 22:31:23 Hey Doug, I think we want to enable this by defaul
dougsteed 2016/03/21 18:11:06 The intent was that the various OEMs would enable
51
47 # TODO(GYP): This should be a platform define. 52 # TODO(GYP): This should be a platform define.
48 is_openbsd = false 53 is_openbsd = false
49 } 54 }
50 55
51 # Use a second declare_args() to pick up possible overrides of |use_cras|. 56 # Use a second declare_args() to pick up possible overrides of |use_cras|.
52 declare_args() { 57 declare_args() {
53 # Enables runtime selection of PulseAudio library. 58 # Enables runtime selection of PulseAudio library.
54 use_pulseaudio = false 59 use_pulseaudio = false
55 60
56 # Enables runtime selection of ALSA library for audio. 61 # Enables runtime selection of ALSA library for audio.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 "cdm", 121 "cdm",
117 "renderer", 122 "renderer",
118 ] 123 ]
119 mojo_media_host = "browser" 124 mojo_media_host = "browser"
120 } else { 125 } else {
121 mojo_media_services = [ "cdm" ] 126 mojo_media_services = [ "cdm" ]
122 mojo_media_host = "utility" 127 mojo_media_host = "utility"
123 } 128 }
124 } 129 }
125 } 130 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698