Original description:
Add proper lifetime of encoder-specific settings.

Permits passing VideoEncoderConfig between threads and not worry about
the lifetime of an underlying void pointer. Also adds type safety to
unpacking of codec-specific settings.

These settings are not yet propagating to VideoEncoder interfaces, but
the aim is to get rid of webrtc::VideoCodec for VideoEncoder.

BUG=webrtc:3424
R=perkj@webrtc.org, pbos@webrtc.org
TBR=mflodman@webrtc.org

Review-Url: https://codereview.webrtc.org/2347843002
Cr-Commit-Position: refs/heads/master@{#14396}
This commit is contained in:
kthelgason
2016-09-27 03:52:02 -07:00
committed by Commit bot
parent 5f8ebaeffd
commit 29a44e351e
10 changed files with 196 additions and 75 deletions

View File

@ -1317,6 +1317,7 @@ if (rtc_include_tests) {
testonly = true
deps = [
"../..:webrtc_common",
"../../base:rtc_base_approved",
"//testing/gtest",
]
sources = [