Set rtc_use_h265 to enable_hevc_parser_and_hw_decoder in Chromium builds
Bug: None Change-Id: If7cfb365363bae756f4099d952b588711f3ae672 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/344682 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Sergey Silkin <ssilkin@webrtc.org> Cr-Commit-Position: refs/heads/main@{#41973}
This commit is contained in:
parent
e975b44a45
commit
e3b42636f3
10
webrtc.gni
10
webrtc.gni
@ -39,6 +39,10 @@ if (is_fuchsia) {
|
||||
import("//build/config/fuchsia/config.gni")
|
||||
}
|
||||
|
||||
if (build_with_chromium) {
|
||||
import("//media/media_options.gni")
|
||||
}
|
||||
|
||||
# This declare_args is separated from the next one because args declared
|
||||
# in this one, can be read from the next one (args defined in the same
|
||||
# declare_args cannot be referenced in that scope).
|
||||
@ -190,7 +194,11 @@ declare_args() {
|
||||
proprietary_codecs && !is_android && !is_ios && !(is_win && !is_clang)
|
||||
|
||||
# Enable to use H265
|
||||
rtc_use_h265 = proprietary_codecs
|
||||
if (build_with_chromium) {
|
||||
rtc_use_h265 = enable_hevc_parser_and_hw_decoder
|
||||
} else {
|
||||
rtc_use_h265 = proprietary_codecs
|
||||
}
|
||||
|
||||
# Enable this flag to make webrtc::Mutex be implemented by absl::Mutex.
|
||||
rtc_use_absl_mutex = false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user