diff options
Diffstat (limited to 'webrtc/modules/video_capture/linux/video_capture_linux.h')
-rw-r--r-- | webrtc/modules/video_capture/linux/video_capture_linux.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/webrtc/modules/video_capture/linux/video_capture_linux.h b/webrtc/modules/video_capture/linux/video_capture_linux.h index 996f8e10ca..8172eb8d2a 100644 --- a/webrtc/modules/video_capture/linux/video_capture_linux.h +++ b/webrtc/modules/video_capture/linux/video_capture_linux.h @@ -11,9 +11,9 @@ #ifndef WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_LINUX_VIDEO_CAPTURE_LINUX_H_ #define WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_LINUX_VIDEO_CAPTURE_LINUX_H_ +#include "webrtc/base/platform_thread.h" #include "webrtc/common_types.h" #include "webrtc/modules/video_capture/video_capture_impl.h" -#include "webrtc/system_wrappers/include/thread_wrapper.h" namespace webrtc { @@ -39,7 +39,8 @@ private: bool AllocateVideoBuffers(); bool DeAllocateVideoBuffers(); - rtc::scoped_ptr<ThreadWrapper> _captureThread; + // TODO(pbos): Stop using scoped_ptr and resetting the thread. + rtc::scoped_ptr<rtc::PlatformThread> _captureThread; CriticalSectionWrapper* _captureCritSect; int32_t _deviceId; |