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

Side by Side Diff: media/media_options.gni

Issue 1998333002: MP4 support for Common Encryption 'cbcs' scheme. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: another ddorwin comment Created 4 years 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
« no previous file with comments | « media/formats/mp4/track_run_iterator_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//testing/libfuzzer/fuzzer_test.gni") 7 import("//testing/libfuzzer/fuzzer_test.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 23 matching lines...) Expand all
34 use_low_memory_buffer = is_chromecast && !is_android 34 use_low_memory_buffer = is_chromecast && !is_android
35 35
36 # Enables AC3/EAC3 audio demuxing. This is enabled only on Chromecast, since 36 # Enables AC3/EAC3 audio demuxing. This is enabled only on Chromecast, since
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 = 41 enable_mse_mpeg2ts_stream_parser =
42 (proprietary_codecs && is_chromecast) || use_libfuzzer || use_afl 42 (proprietary_codecs && is_chromecast) || use_libfuzzer || use_afl
43 43
44 # Enable support for the 'cbcs' encryption scheme added by MPEG Common
45 # Encryption 3rd Edition (ISO/IEC 23001-7), published 02/15/2016.
46 enable_cbcs_encryption_scheme = is_chromecast
47
44 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the 48 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the
45 # platform. Enable by default for Chromecast. 49 # platform. Enable by default for Chromecast.
46 enable_hevc_demuxing = proprietary_codecs && is_chromecast 50 enable_hevc_demuxing = proprietary_codecs && is_chromecast
47 51
48 enable_webrtc = !is_ios 52 enable_webrtc = !is_ios
49 } 53 }
50 54
51 # Use a second declare_args() to pick up possible overrides of |use_cras|. 55 # Use a second declare_args() to pick up possible overrides of |use_cras|.
52 declare_args() { 56 declare_args() {
53 # Enables runtime selection of PulseAudio library. 57 # Enables runtime selection of PulseAudio library.
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 } 129 }
126 } 130 }
127 } 131 }
128 132
129 declare_args() { 133 declare_args() {
130 # This switch defines whether the Media Remoting implementation will be built. 134 # This switch defines whether the Media Remoting implementation will be built.
131 # When enabled, media is allowed to be renderer and played back on remote 135 # When enabled, media is allowed to be renderer and played back on remote
132 # devices when the tab is being casted and other conditions are met. 136 # devices when the tab is being casted and other conditions are met.
133 enable_media_remoting = !is_chromecast && !is_ios && !is_android 137 enable_media_remoting = !is_chromecast && !is_ios && !is_android
134 } 138 }
OLDNEW
« no previous file with comments | « media/formats/mp4/track_run_iterator_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698