Index: talk/media/webrtc/webrtcvideoengine2.h |
diff --git a/talk/media/webrtc/webrtcvideoengine2.h b/talk/media/webrtc/webrtcvideoengine2.h |
index 05f73d13581964245c9faa0dddc0545bdca9f243..a3361dc296f0331b78d4a73a77d9e94e01a2cde8 100644 |
--- a/talk/media/webrtc/webrtcvideoengine2.h |
+++ b/talk/media/webrtc/webrtcvideoengine2.h |
@@ -395,7 +395,8 @@ class WebRtcVideoChannel2 : public rtc::MessageHandler, |
const webrtc::VideoReceiveStream::Config& config, |
WebRtcVideoDecoderFactory* external_decoder_factory, |
bool default_stream, |
- const std::vector<VideoCodecSettings>& recv_codecs); |
+ const std::vector<VideoCodecSettings>& recv_codecs, |
+ bool disable_prerenderer_smoothing); |
~WebRtcVideoReceiveStream(); |
const std::vector<uint32_t>& GetSsrcs() const; |
@@ -408,6 +409,7 @@ class WebRtcVideoChannel2 : public rtc::MessageHandler, |
void RenderFrame(const webrtc::VideoFrame& frame, |
int time_to_render_ms) override; |
bool IsTextureSupported() const override; |
+ bool PrerendererSmoothingDisabled() const override; |
bool IsDefaultStream() const; |
void SetRenderer(cricket::VideoRenderer* renderer); |
@@ -448,6 +450,8 @@ class WebRtcVideoChannel2 : public rtc::MessageHandler, |
WebRtcVideoDecoderFactory* const external_decoder_factory_; |
std::vector<AllocatedDecoder> allocated_decoders_; |
+ const bool disable_prerenderer_smoothing_; |
+ |
rtc::CriticalSection renderer_lock_; |
cricket::VideoRenderer* renderer_ GUARDED_BY(renderer_lock_); |
int last_width_ GUARDED_BY(renderer_lock_); |