Index: webrtc/modules/video_capture/linux/video_capture_linux.cc |
diff --git a/webrtc/modules/video_capture/linux/video_capture_linux.cc b/webrtc/modules/video_capture/linux/video_capture_linux.cc |
index b8e3f6205625ea29120beed0df66ac54f1e6bc52..401a69d8c12c813b36674b86a8d40d1d870abc88 100644 |
--- a/webrtc/modules/video_capture/linux/video_capture_linux.cc |
+++ b/webrtc/modules/video_capture/linux/video_capture_linux.cc |
@@ -280,10 +280,10 @@ int32_t VideoCaptureModuleV4L2::StartCapture( |
//start capture thread; |
if (!_captureThread) |
{ |
- _captureThread = PlatformThread::CreateThread( |
- VideoCaptureModuleV4L2::CaptureThread, this, "CaptureThread"); |
+ _captureThread.reset(new rtc::PlatformThread( |
+ VideoCaptureModuleV4L2::CaptureThread, this, "CaptureThread")); |
_captureThread->Start(); |
- _captureThread->SetPriority(kHighPriority); |
+ _captureThread->SetPriority(rtc::kHighPriority); |
} |
// Needed to start UVC camera - from the uvcview application |