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

Unified Diff: content/browser/renderer_host/media/video_capture_controller.h

Issue 2659653002: Fix for issue 684766 Old/erroneous frame feedback during tab capture (Closed)
Patch Set: Exercise ResurrectLastOutputBuffer() and apply git cl format Created 3 years, 11 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
« no previous file with comments | « no previous file | content/browser/renderer_host/media/video_capture_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/video_capture_controller.h
diff --git a/content/browser/renderer_host/media/video_capture_controller.h b/content/browser/renderer_host/media/video_capture_controller.h
index 76e59cb29b1ab6beb719d4cf6f65f10cfd77a115..8eaa31abd2f81322ba46b447c71fba0c7d622c07 100644
--- a/content/browser/renderer_host/media/video_capture_controller.h
+++ b/content/browser/renderer_host/media/video_capture_controller.h
@@ -153,13 +153,14 @@ class CONTENT_EXPORT VideoCaptureController : public media::VideoFrameReceiver {
void IncreaseConsumerCount();
void DecreaseConsumerCount();
bool HasZeroConsumerHoldCount();
+ void SetFrameFeedbackId(int id);
void SetConsumerFeedbackObserver(
media::VideoFrameConsumerFeedbackObserver* consumer_feedback_observer);
void SetFrameBufferPool(media::FrameBufferPool* frame_buffer_pool);
private:
const int buffer_id_;
- const int frame_feedback_id_;
+ int frame_feedback_id_;
media::VideoFrameConsumerFeedbackObserver* consumer_feedback_observer_;
media::FrameBufferPool* frame_buffer_pool_;
double max_consumer_utilization_;
« no previous file with comments | « no previous file | content/browser/renderer_host/media/video_capture_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698