7bd4a2750253a2049a5ad0cff171eb4f6beb57ff
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
Description
No description provided
Languages
C++
76%
C
16%
Python
2.3%
Java
2.1%
Objective-C++
1.5%
Other
1.9%