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

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: fix a problem in hasty change before upload 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 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 7
8 declare_args() { 8 declare_args() {
9 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of 9 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of
10 # using dlopen. This helps with automated detection of ABI mismatches and 10 # using dlopen. This helps with automated detection of ABI mismatches and
(...skipping 21 matching lines...) Expand all
32 # Use low-memory buffers on non-Android builds of Chromecast. 32 # Use low-memory buffers on non-Android builds of Chromecast.
33 use_low_memory_buffer = is_chromecast && !is_android 33 use_low_memory_buffer = is_chromecast && !is_android
34 34
35 # Enables AC3/EAC3 audio demuxing. This is enabled only on Chromecast, since 35 # Enables AC3/EAC3 audio demuxing. This is enabled only on Chromecast, since
36 # it only provides demuxing, and is only useful for AC3/EAC3 audio 36 # it only provides demuxing, and is only useful for AC3/EAC3 audio
37 # pass-through to HDMI sink on Chromecast. 37 # pass-through to HDMI sink on Chromecast.
38 enable_ac3_eac3_audio_demuxing = proprietary_codecs && is_chromecast 38 enable_ac3_eac3_audio_demuxing = proprietary_codecs && is_chromecast
39 39
40 enable_mse_mpeg2ts_stream_parser = proprietary_codecs && is_chromecast 40 enable_mse_mpeg2ts_stream_parser = proprietary_codecs && is_chromecast
41 41
42 # Enable support for newer editions of MPEG Common Encryption (CENC)
ddorwin 2016/05/24 23:25:03 This comment and variable (and define) name are in
dougsteed 2016/05/25 17:23:21 I see. In this name I had intended to mean 'cenc'
43 # (ISO/IEC 23001-7).
44 # 2nd edition: was published 04/01/2015.
45 # 3rd edition: was published 02/15/2016.
46 enable_cenc_new_editions = is_chromecast
47
42 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the 48 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the
43 # platform. Enable by default for Chromecast. 49 # platform. Enable by default for Chromecast.
44 enable_hevc_demuxing = proprietary_codecs && is_chromecast 50 enable_hevc_demuxing = proprietary_codecs && is_chromecast
45 51
46 # TODO(GYP): This should be a platform define. 52 # TODO(GYP): This should be a platform define.
47 is_openbsd = false 53 is_openbsd = false
48 } 54 }
49 55
50 # 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|.
51 declare_args() { 57 declare_args() {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 "cdm", 121 "cdm",
116 "renderer", 122 "renderer",
117 ] 123 ]
118 mojo_media_host = "browser" 124 mojo_media_host = "browser"
119 } else { 125 } else {
120 mojo_media_services = [ "cdm" ] 126 mojo_media_services = [ "cdm" ]
121 mojo_media_host = "utility" 127 mojo_media_host = "utility"
122 } 128 }
123 } 129 }
124 } 130 }
OLDNEW
« media/formats/mp4/track_run_iterator.cc ('K') | « media/formats/mp4/track_run_iterator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698