Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

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

Issue 2456443002: Add callback to copy texture backed frames in WebRtcVideoFrameAdapter (Closed)
Patch Set: mcasas@ comments. Created 4 years, 2 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 7b3877c37b3ab83effde76324ac003a8c2264c00..41a3563f3972a888dd0535fa9bccf41dda9beb33 100644
--- a/content/renderer/media/webrtc/webrtc_video_capturer_adapter.h
+++ b/content/renderer/media/webrtc/webrtc_video_capturer_adapter.h
@@ -51,6 +51,10 @@ class CONTENT_EXPORT WebRtcVideoCapturerAdapter
cricket::VideoFormat* best_format) override;
bool IsScreencast() const override;
+ // Helper class used for copying texture backed frames.
+ class TextureFrameCopier;
+ const scoped_refptr<TextureFrameCopier> texture_copier_;
// |thread_checker_| is bound to the libjingle worker thread.
base::ThreadChecker thread_checker_;
« no previous file with comments | « content/renderer/media/gpu/ ('k') | content/renderer/media/webrtc/ » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698