Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 948dcece70dcd3ca0944135682591ff6440b9054..252c2f15624f5713a33cbf3e88142becbc140853 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -1472,6 +1472,12 @@ |
# Set to 1 to compile with MSE support for MPEG2 TS |
'enable_mpeg2ts_stream_parser%': 0, |
+ # HEVC/H265 demuxing support. Uses FFmpeg demuxer, so for this to work |
DaleCurtis
2015/02/06 19:08:29
This isn't allowed, you need to limit your option
|
+ # src/third_party/ffmpeg needs to be configured and built with |
+ # --enable-demuxer=hevc and --enable-parser=hevc, see |
+ # third_party/ffmpeg/chromium/scripts/build_ffmpeg.py |
+ 'enable_hevc_demuxing%': 0, |
+ |
# Support ChromeOS touchpad gestures with ozone. |
'use_evdev_gestures%': 0, |
@@ -1806,6 +1812,7 @@ |
'use_system_fontconfig%': 1, |
}], |
['chromecast==1', { |
+ 'enable_hevc_demuxing%': 1, |
'enable_mpeg2ts_stream_parser%': 1, |
'ffmpeg_branding%': 'ChromeOS', |
'ozone_platform_ozonex%': 1, |
@@ -2651,6 +2658,9 @@ |
['enable_mpeg2ts_stream_parser==1', { |
'defines': ['ENABLE_MPEG2TS_STREAM_PARSER'], |
}], |
+ ['enable_hevc_demuxing==1', { |
+ 'defines': ['ENABLE_HEVC_DEMUXING'], |
+ }], |
], |
}], |
['enable_viewport==1', { |