video_encoder: Add RTC_EXPORT ScalingSettings

ScalingSettings has some public constructors. These should be
able to be called from exteranl code. However, a linker fails
on windows because ScalingSettings doesn't have RTC_EXPORT.

Bug: chromium:1031965
Test: build crrev.com/c/1949841
Change-Id: Iddaea77f87c52edbe8f77551322d7aa198bc0aeb
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/161860
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30063}
This commit is contained in:
Hirokazu Honda 2019-12-11 18:25:45 +09:00 committed by Commit Bot
parent 9a52bd733c
commit 1154915024

View File

@ -89,7 +89,7 @@ class RTC_EXPORT VideoEncoder {
};
// Quality scaling is enabled if thresholds are provided.
struct ScalingSettings {
struct RTC_EXPORT ScalingSettings {
private:
// Private magic type for kOff, implicitly convertible to
// ScalingSettings.