build: [gyp] explicitly override rtc_use_h264 (#667)
This commit is contained in:
Родитель
95233322d2
Коммит
e5fd4311b9
|
@ -11,6 +11,13 @@ proprietary_codecs = true
|
|||
is_component_ffmpeg = true
|
||||
ffmpeg_branding = "Chrome"
|
||||
|
||||
# This may be guarded behind is_chrome_branded alongside
|
||||
# proprietary_codecs https://webrtc-review.googlesource.com/c/src/+/36321,
|
||||
# explicitly override here to build OpenH264 encoder/FFmpeg decoder.
|
||||
# The initialization of the decoder depends on whether ffmpeg has
|
||||
# been built with H.264 support.
|
||||
rtc_use_h264 = true
|
||||
|
||||
# Use the system provided standard library on platforms other than Linux.
|
||||
if (target_os != "linux") {
|
||||
use_custom_libcxx = false
|
||||
|
|
|
@ -10,6 +10,13 @@ proprietary_codecs = true
|
|||
is_component_ffmpeg = true
|
||||
ffmpeg_branding = "Chrome"
|
||||
|
||||
# This may be guarded behind is_chrome_branded alongside
|
||||
# proprietary_codecs https://webrtc-review.googlesource.com/c/src/+/36321,
|
||||
# explicitly override here to build OpenH264 encoder/FFmpeg decoder.
|
||||
# The initialization of the decoder depends on whether ffmpeg has
|
||||
# been built with H.264 support.
|
||||
rtc_use_h264 = true
|
||||
|
||||
# CFI is disabled for the time being, as Electron is not a monolithic binary
|
||||
# with at least one shared library component (Node) and CFI is tricky in that
|
||||
# scenario
|
||||
|
|
Загрузка…
Ссылка в новой задаче