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

Unified Diff: webrtc/common_video/include/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: Remove unnecessary if 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
« no previous file with comments | « talk/media/webrtc/webrtcvideoengine2.cc ('k') | webrtc/common_video/incoming_video_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/common_video/include/incoming_video_stream.h
diff --git a/webrtc/common_video/include/incoming_video_stream.h b/webrtc/common_video/include/incoming_video_stream.h
index 93bc1baf5bfa8021b3c48f911e0bf4b4d8e65a48..3fa1424c99f4f1a07cd501e813e058e0342aa543 100644
--- a/webrtc/common_video/include/incoming_video_stream.h
+++ b/webrtc/common_video/include/incoming_video_stream.h
@@ -19,6 +19,7 @@ namespace webrtc {
class CriticalSectionWrapper;
class EventTimerWrapper;
class PlatformThread;
+class VideoRenderer;
class VideoRenderCallback {
public:
@@ -31,7 +32,7 @@ class VideoRenderCallback {
class IncomingVideoStream : public VideoRenderCallback {
public:
- explicit IncomingVideoStream(uint32_t stream_id);
+ IncomingVideoStream(uint32_t stream_id, bool disable_prerenderer_smoothing);
~IncomingVideoStream();
// Get callback to deliver frames to the module.
@@ -72,7 +73,10 @@ class IncomingVideoStream : public VideoRenderCallback {
enum { kEventMaxWaitTimeMs = 100 };
enum { kFrameRatePeriodMs = 1000 };
+ void DeliverFrame(const VideoFrame& video_frame);
+
uint32_t const stream_id_;
+ const bool disable_prerenderer_smoothing_;
// Critsects in allowed to enter order.
const rtc::scoped_ptr<CriticalSectionWrapper> stream_critsect_;
const rtc::scoped_ptr<CriticalSectionWrapper> thread_critsect_;
« no previous file with comments | « talk/media/webrtc/webrtcvideoengine2.cc ('k') | webrtc/common_video/incoming_video_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698