| Index: webrtc/video/video_stream_decoder.h
|
| diff --git a/webrtc/video/video_stream_decoder.h b/webrtc/video/video_stream_decoder.h
|
| index 11f0b03d60ccbfb027023b3631b91800a2c84dda..24a0ea3449bf1d5ca63d072a3858ab4dbfa87c28 100644
|
| --- a/webrtc/video/video_stream_decoder.h
|
| +++ b/webrtc/video/video_stream_decoder.h
|
| @@ -19,7 +19,6 @@
|
| #include "webrtc/base/criticalsection.h"
|
| #include "webrtc/base/platform_thread.h"
|
| #include "webrtc/base/scoped_ref_ptr.h"
|
| -#include "webrtc/media/base/videosinkinterface.h"
|
| #include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h"
|
| #include "webrtc/modules/video_coding/include/video_coding_defines.h"
|
| #include "webrtc/typedefs.h"
|
| @@ -32,6 +31,7 @@
|
| class Config;
|
| class EncodedImageCallback;
|
| class I420FrameCallback;
|
| +class IncomingVideoStream;
|
| class ReceiveStatisticsProxy;
|
| class VideoRenderCallback;
|
| class VoEVideoSync;
|
| @@ -58,7 +58,7 @@
|
| bool enable_nack,
|
| bool enable_fec,
|
| ReceiveStatisticsProxy* receive_statistics_proxy,
|
| - rtc::VideoSinkInterface<VideoFrame>* incoming_video_stream,
|
| + IncomingVideoStream* incoming_video_stream,
|
| I420FrameCallback* pre_render_callback);
|
| ~VideoStreamDecoder();
|
|
|
| @@ -89,16 +89,18 @@
|
| void OnRttUpdate(int64_t avg_rtt_ms, int64_t max_rtt_ms) override;
|
|
|
| private:
|
| + // Assumed to be protected.
|
| + void StartDecodeThread();
|
| + void StopDecodeThread();
|
| +
|
| // Used for all registered callbacks except rendering.
|
| rtc::CriticalSection crit_;
|
|
|
| vcm::VideoReceiver* const video_receiver_;
|
|
|
| ReceiveStatisticsProxy* const receive_stats_callback_;
|
| - rtc::VideoSinkInterface<VideoFrame>* const incoming_video_stream_;
|
| + IncomingVideoStream* const incoming_video_stream_;
|
|
|
| - // TODO(tommi): This callback is basically the same thing as the one above.
|
| - // We shouldn't need to support both.
|
| I420FrameCallback* const pre_render_callback_;
|
|
|
| int64_t last_rtt_ms_ GUARDED_BY(crit_);
|
|
|