Do not hold the critical section in VideoCaptureAndroid::SetCaptureRotation since it would case possible deadlock with OS Camear thread.
BUT=3464 TEST=Manual Test with WebRTCDemo R=glaznev@webrtc.org Review URL: https://webrtc-codereview.appspot.com/21719004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6509 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
bb2d65895b
commit
0b893b1e05
@ -234,7 +234,6 @@ int32_t VideoCaptureAndroid::CaptureSettings(
|
||||
|
||||
int32_t VideoCaptureAndroid::SetCaptureRotation(
|
||||
VideoCaptureRotation rotation) {
|
||||
CriticalSectionScoped cs(&_apiCs);
|
||||
int32_t status = VideoCaptureImpl::SetCaptureRotation(rotation);
|
||||
if (status != 0)
|
||||
return status;
|
||||
|
Loading…
Reference in New Issue
Block a user