Add RTC_EXPORT to VCMEncodedFrame

This is needed to be able to use webrtc::video_coding::EncodedFrame
is unit tests in Chromium.

TBR=tommi@webrtc.org

Bug: webrtc:11380
Change-Id: Idb3b0ab667a548f5a968e02a8efd91f02585c3f9
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/169451
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30651}
This commit is contained in:
Guido Urdaneta 2020-02-28 16:28:34 +01:00 committed by Commit Bot
parent c028df05ac
commit c8958e5a4f
3 changed files with 4 additions and 1 deletions

View file

@ -28,6 +28,7 @@ rtc_library("encoded_frame") {
"../../rtc_base:rtc_base_approved",
"../../rtc_base/experiments:alr_experiment",
"../../rtc_base/experiments:rtt_mult_experiment",
"../../rtc_base/system:rtc_export",
"../../system_wrappers",
"//third_party/abseil-cpp/absl/types:optional",
"//third_party/abseil-cpp/absl/types:variant",

View file

@ -6,6 +6,7 @@ include_rules = [
"+system_wrappers",
"+rtc_tools",
"+third_party/libyuv",
"+rtc_base/system/rtc_export.h",
]
specific_include_rules = {

View file

@ -17,10 +17,11 @@
#include "modules/rtp_rtcp/source/rtp_video_header.h"
#include "modules/video_coding/include/video_codec_interface.h"
#include "modules/video_coding/include/video_coding_defines.h"
#include "rtc_base/system/rtc_export.h"
namespace webrtc {
class VCMEncodedFrame : protected EncodedImage {
class RTC_EXPORT VCMEncodedFrame : protected EncodedImage {
public:
VCMEncodedFrame();
VCMEncodedFrame(const VCMEncodedFrame&);