commit | d6a0efdc86f61b198b800dba301f53f847eb9ba0 | [log] [tgz] |
---|---|---|
author | fischman@webrtc.org <fischman@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Wed May 28 18:37:07 2014 |
committer | fischman@webrtc.org <fischman@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Wed May 28 18:37:07 2014 |
tree | 9caf5934fbc4075ab8adfa562b2e3e9a7e29e888 | |
parent | 43a13953708ee5081fcbc1255cb48ca62104b899 [diff] |
VideoCaptureAndroid: quit & join the camera thread on stopCapture. Also fix latent bug where setPreviewRotation() wouldn't hold the lock while its delegate setPreviewRotationOnCameraThread() was running, allowing the camera to be freed between the null-check and the use. BUG=3389 R=wu@webrtc.org Review URL: https://webrtc-codereview.appspot.com/17619007 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6266 4adac7df-926f-26a2-2b94-8c16560cd09d