Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: webrtc/common_video/interface/incoming_video_stream.h

Issue 1419673014: Remove frame time scheduing in IncomingVideoStream (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rename flag to disable_prerenderer_smoothing Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/common_video/interface/incoming_video_stream.h
diff --git a/webrtc/common_video/interface/incoming_video_stream.h b/webrtc/common_video/interface/incoming_video_stream.h
index 886dae58e605a5788286822ab95214bfc84103c7..be5731ee3c12763cc094783fed3e9782627229e6 100644
--- a/webrtc/common_video/interface/incoming_video_stream.h
+++ b/webrtc/common_video/interface/incoming_video_stream.h
@@ -21,6 +21,7 @@ namespace webrtc {
class CriticalSectionWrapper;
class EventTimerWrapper;
class ThreadWrapper;
+class VideoRenderer;
class VideoRenderCallback {
public:
@@ -34,6 +35,7 @@ class VideoRenderCallback {
class IncomingVideoStream : public VideoRenderCallback {
public:
explicit IncomingVideoStream(uint32_t stream_id);
+ IncomingVideoStream(uint32_t stream_id, VideoRenderer* renderer);
~IncomingVideoStream();
// Get callback to deliver frames to the module.
@@ -75,6 +77,7 @@ class IncomingVideoStream : public VideoRenderCallback {
enum { kFrameRatePeriodMs = 1000 };
uint32_t const stream_id_;
+ VideoRenderer* const renderer_;
pbos-webrtc 2015/11/23 14:28:05 this should be a const bool instead of a pointer t
qiangchen 2015/11/24 00:21:05 Done.
// Critsects in allowed to enter order.
const rtc::scoped_ptr<CriticalSectionWrapper> stream_critsect_;
const rtc::scoped_ptr<CriticalSectionWrapper> thread_critsect_;

Powered by Google App Engine
This is Rietveld 408576698