Because stopCapture() and onPreviewFrame() are called on different threads, and are both synchronized, it's possible for onPreviewFrame() to commence execution after stopCapture() has completed, causing a SEGV because the native code is no longer prepared to accept frames. Clarify the contract around synchronized methods in this class to hopefully avoid similar bugs in future. BUG=2947 R=henrike@webrtc.org Review URL: https://webrtc-codereview.appspot.com/9339004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5639 4adac7df-926f-26a2-2b94-8c16560cd09d
Name: WebRTC URL: http://www.webrtc.org Version: 90 License: BSD License File: LICENSE Description: WebRTC provides real time voice and video processing functionality to enable the implementation of PeerConnection/MediaStream. Third party code used in this project is described in the file LICENSE_THIRD_PARTY.