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

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: Added browser tests for AC3/EAC3 Created 5 years, 10 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 declare_args() { 5 declare_args() {
6 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of 6 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of
7 # using dlopen. This helps with automated detection of ABI mismatches and 7 # using dlopen. This helps with automated detection of ABI mismatches and
8 # prevents silent errors. 8 # prevents silent errors.
9 link_pulseaudio = false 9 link_pulseaudio = false
10 10
(...skipping 23 matching lines...) Expand all
34 34
35 # TODO(GYP): How to handled the "embedded" use case? 35 # TODO(GYP): How to handled the "embedded" use case?
36 # Original conditional: (OS=="linux" or OS=="freebsd" or OS=="solaris") and em bedded!=1 36 # Original conditional: (OS=="linux" or OS=="freebsd" or OS=="solaris") and em bedded!=1
37 if (is_posix && !is_android && !is_mac) { 37 if (is_posix && !is_android && !is_mac) {
38 use_alsa = true 38 use_alsa = true
39 if (!use_cras) { 39 if (!use_cras) {
40 use_pulseaudio = true 40 use_pulseaudio = true
41 } 41 }
42 } 42 }
43 43
44 # Enables AC3/EAC3 audio demuxing. Disabled by default because it's only
45 # demuxing, not decoding. It's of limited use (but can be used to implement
46 # AC3/EAC3 audio pass-through)
47 enable_ac3_eac3_audio_demuxing = false
48
44 # Enables the MPEG2-TS stream parser for use with Media Source. Disabled by 49 # Enables the MPEG2-TS stream parser for use with Media Source. Disabled by
45 # default since it's not available on the normal Web Platform and costs money. 50 # default since it's not available on the normal Web Platform and costs money.
46 enable_mpeg2ts_stream_parser = false 51 enable_mpeg2ts_stream_parser = false
47 52
48 # Enables browser side Content Decryption Modules. Required for embedders 53 # Enables browser side Content Decryption Modules. Required for embedders
49 # (e.g. Android and ChromeCast) that use a browser side CDM. 54 # (e.g. Android and ChromeCast) that use a browser side CDM.
50 enable_browser_cdms = is_android 55 enable_browser_cdms = is_android
51 56
52 # Experiment to enable mojo based media renderer: http://crbug.com/431776 57 # Experiment to enable mojo based media renderer: http://crbug.com/431776
53 enable_media_mojo_renderer = false 58 enable_media_mojo_renderer = false
54 59
55 # TODO(GYP): This should be a platform define. 60 # TODO(GYP): This should be a platform define.
56 is_openbsd = false 61 is_openbsd = false
57 62
58 # Override to omit code that depends on the X11, font, and graphics libraries. 63 # Override to omit code that depends on the X11, font, and graphics libraries.
59 is_ensemble = false 64 is_ensemble = false
60 } 65 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698