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

Unified 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: buildfix 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/media.gyp ('k') | media/mojo/interfaces/media_types.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/media_options.gni
diff --git a/media/media_options.gni b/media/media_options.gni
index fa01d0fe64f1e68827a7ae40a5ba182333ef382c..635c4d24c604ed50b263053ba777f66b07b4c800 100644
--- a/media/media_options.gni
+++ b/media/media_options.gni
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/config/chromecast_build.gni")
+import("//build/config/features.gni")
import("//build/config/headless_build.gni")
declare_args() {
@@ -48,7 +49,12 @@ declare_args() {
# Use low-memory buffers on non-Android builds of Chromecast.
use_low_memory_buffer = is_chromecast && !is_android
- enable_mse_mpeg2ts_stream_parser = is_chromecast
+ # Enables AC3/EAC3 audio demuxing. This is enabled only on Chromecast, since
+ # it only provides demuxing, and is only useful for AC3/EAC3 audio
+ # pass-through to HDMI sink on Chromecast.
+ enable_ac3_eac3_audio_demuxing = proprietary_codecs && is_chromecast
+
+ enable_mse_mpeg2ts_stream_parser = proprietary_codecs && is_chromecast
# Enable HEVC/H265 demuxing. Actual decoding must be provided by the
# platform. Enable by default for Chromecast.
« no previous file with comments | « 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