Index: webrtc/media/base/videobroadcaster.h |
diff --git a/webrtc/media/base/videobroadcaster.h b/webrtc/media/base/videobroadcaster.h |
index 5d4e2ae658480e0ff86e71121e54e6c180c57705..1fcc9c3f3584944cadab9c2889ad5c8d2c9e2244 100644 |
--- a/webrtc/media/base/videobroadcaster.h |
+++ b/webrtc/media/base/videobroadcaster.h |
@@ -45,6 +45,10 @@ class VideoBroadcaster : public VideoSourceBase, |
// aggregated by all VideoSinkWants from all sinks. |
VideoSinkWants wants() const; |
+ // This method ensures that if a sink sets rotation_applied == true, |
+ // it will never receive a frame with pending rotation. Our caller |
+ // may pass in frames without precise synchronization with changes |
+ // to the VideoSinkWants. |
void OnFrame(const cricket::VideoFrame& frame) override; |
protected: |