| Index: webrtc/api/androidvideocapturer.cc
|
| diff --git a/webrtc/api/androidvideocapturer.cc b/webrtc/api/androidvideocapturer.cc
|
| index a24d55c168e03f1fded01d02224babf7879508e6..9f1e696c46a69d5afe7dca06620d94bb063e27db 100644
|
| --- a/webrtc/api/androidvideocapturer.cc
|
| +++ b/webrtc/api/androidvideocapturer.cc
|
| @@ -173,11 +173,7 @@ void AndroidVideoCapturer::OnCapturerStarted(bool success) {
|
| if (new_state == current_state_)
|
| return;
|
| current_state_ = new_state;
|
| -
|
| - // TODO(perkj): SetCaptureState can not be used since it posts to |thread_|.
|
| - // But |thread_ | is currently just the thread that happened to create the
|
| - // cricket::VideoCapturer.
|
| - SignalStateChange(this, new_state);
|
| + SetCaptureState(new_state);
|
| }
|
|
|
| void AndroidVideoCapturer::OnIncomingFrame(
|
|
|