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

Side by Side Diff: media/media_options.gni

Issue 812643005: Re-add AC3/EAC3 audio demuxing support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR feedback Created 4 years, 11 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/headless_build.gni") 6 import("//build/config/headless_build.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 30 matching lines...) Expand all
41 (!is_chromecast || is_cast_desktop_build)) { 41 (!is_chromecast || is_cast_desktop_build)) {
42 use_alsa = true 42 use_alsa = true
43 if (!use_cras) { 43 if (!use_cras) {
44 use_pulseaudio = true 44 use_pulseaudio = true
45 } 45 }
46 } 46 }
47 47
48 # Use low-memory buffers on non-Android builds of Chromecast. 48 # Use low-memory buffers on non-Android builds of Chromecast.
49 use_low_memory_buffer = is_chromecast && !is_android 49 use_low_memory_buffer = is_chromecast && !is_android
50 50
51 # Enables AC3/EAC3 audio demuxing. This is enabled only on Chromecast, since
52 # it only provides demuxing, and is only useful for AC3/EAC3 audio
53 # pass-through to HDMI sink on Chromecast.
54 enable_ac3_eac3_audio_demuxing = is_chromecast && proprietary_codecs
ddorwin 2016/01/08 20:15:42 The reason I proposed the other way in PS35 is tha
servolk 2016/01/08 21:55:48 Done.
55
51 enable_mse_mpeg2ts_stream_parser = is_chromecast 56 enable_mse_mpeg2ts_stream_parser = is_chromecast
ddorwin 2016/01/08 20:15:42 I think it's fine to make the same change here in
servolk 2016/01/08 21:55:48 Done.
52 57
53 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the 58 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the
54 # platform. Enable by default for Chromecast. 59 # platform. Enable by default for Chromecast.
55 enable_hevc_demuxing = is_chromecast 60 enable_hevc_demuxing = is_chromecast
56 61
57 # Experiment to enable mojo media application: http://crbug.com/431776 62 # Experiment to enable mojo media application: http://crbug.com/431776
58 # Valid options are: 63 # Valid options are:
59 # - "none": Do not use mojo media application. 64 # - "none": Do not use mojo media application.
60 # - "browser": Use mojo media application hosted in the browser process. 65 # - "browser": Use mojo media application hosted in the browser process.
61 # - "gpu": Use mojo media application hosted in the gpu process. 66 # - "gpu": Use mojo media application hosted in the gpu process.
62 # - "utility": Use mojo media application hosted in the utility process. 67 # - "utility": Use mojo media application hosted in the utility process.
63 enable_mojo_media = "none" 68 enable_mojo_media = "none"
64 69
65 # TODO(GYP): This should be a platform define. 70 # TODO(GYP): This should be a platform define.
66 is_openbsd = false 71 is_openbsd = false
67 } 72 }
OLDNEW
« media/media.gyp ('K') | « media/media.gyp ('k') | media/mojo/interfaces/media_types.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698