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

Unified Diff: content/renderer/media/webrtc/webrtc_video_capturer_adapter.h

Issue 2270723002: Reland of Delete the class WebRtcVideoCapturerAdapter::MediaVideoFrameFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use the right WebRtcVideoFrame constructor, with microsec units. Created 4 years, 4 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: content/renderer/media/webrtc/webrtc_video_capturer_adapter.h
diff --git a/content/renderer/media/webrtc/webrtc_video_capturer_adapter.h b/content/renderer/media/webrtc/webrtc_video_capturer_adapter.h
index f51ca72d2da9cb30935e54e2ce23519efced674f..033c2cdaaa661fc37d79a720dc371a583e77e839 100644
--- a/content/renderer/media/webrtc/webrtc_video_capturer_adapter.h
+++ b/content/renderer/media/webrtc/webrtc_video_capturer_adapter.h
@@ -15,6 +15,7 @@
#include "content/common/content_export.h"
#include "media/base/video_capture_types.h"
#include "media/base/video_frame.h"
+#include "media/base/video_frame_pool.h"
#include "third_party/webrtc/media/base/videocapturer.h"
namespace content {
@@ -56,7 +57,7 @@ class CONTENT_EXPORT WebRtcVideoCapturerAdapter
const bool is_screencast_;
bool running_;
- class MediaVideoFrameFactory;
+ media::VideoFramePool scaled_frame_pool_;
DISALLOW_COPY_AND_ASSIGN(WebRtcVideoCapturerAdapter);
};

Powered by Google App Engine
This is Rietveld 408576698