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

Unified Diff: webrtc/test/vcm_capturer.h

Issue 2716643002: Add framerate to VideoSinkWants and ability to signal on overuse (Closed)
Patch Set: Changed AdaptUp behavior, respect SinkWants in test capturers, manual testing facilitated Created 3 years, 9 months 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/test/vcm_capturer.h
diff --git a/webrtc/test/vcm_capturer.h b/webrtc/test/vcm_capturer.h
index c4dae6556d6c6642d29ab0123932fbb9378f2268..782a438680e2196124136e98193ba62503f06a5c 100644
--- a/webrtc/test/vcm_capturer.h
+++ b/webrtc/test/vcm_capturer.h
@@ -10,6 +10,8 @@
#ifndef WEBRTC_TEST_VCM_CAPTURER_H_
#define WEBRTC_TEST_VCM_CAPTURER_H_
+#include <memory>
+
#include "webrtc/base/criticalsection.h"
#include "webrtc/base/scoped_ref_ptr.h"
#include "webrtc/common_types.h"
@@ -17,6 +19,10 @@
#include "webrtc/modules/video_capture/video_capture.h"
#include "webrtc/test/video_capturer.h"
+namespace cricket {
+class VideoAdapter;
+} // namespace cricket
+
namespace webrtc {
namespace test {
@@ -45,6 +51,7 @@ class VcmCapturer
rtc::VideoSinkInterface<VideoFrame>* sink_ GUARDED_BY(crit_);
rtc::scoped_refptr<VideoCaptureModule> vcm_;
VideoCaptureCapability capability_;
+ std::unique_ptr<cricket::VideoAdapter> video_adpter_;
};
} // test

Powered by Google App Engine
This is Rietveld 408576698