Mark Cricket::VideoEncoder as RTC_EXPORT

Without this, VideoAdapter can't be invoked from Chrome in WebrtcVideoTrackSource

Bug: chromium:1116430
Change-Id: I9db195e3370fbdaa2a77b90bf13441db5e948b2b
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/183449
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#32050}
This commit is contained in:
Ilya Nikolaevskiy
2020-09-07 13:42:13 +02:00
committed by Commit Bot
parent abdb470d00
commit ec622d051b

View File

@ -20,6 +20,7 @@
#include "media/base/video_common.h"
#include "rtc_base/constructor_magic.h"
#include "rtc_base/synchronization/mutex.h"
#include "rtc_base/system/rtc_export.h"
#include "rtc_base/thread_annotations.h"
namespace cricket {
@ -28,7 +29,7 @@ namespace cricket {
// specified input and output formats. The adaptation includes dropping frames
// to reduce frame rate and scaling frames.
// VideoAdapter is thread safe.
class VideoAdapter {
class RTC_EXPORT VideoAdapter {
public:
VideoAdapter();
// The source requests output frames whose width and height are divisible