- Add a SetPriority method to ThreadWrapper
- Remove 'priority' from CreateThread and related member variables from implementations - Make supplying a name for threads, non-optional BUG= R=magjed@webrtc.org Review URL: https://webrtc-codereview.appspot.com/44729004 Cr-Commit-Position: refs/heads/master@{#8810} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8810 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -142,7 +142,6 @@ int32_t VideoRenderAndroid::StartRender() {
|
||||
}
|
||||
|
||||
_javaRenderThread = ThreadWrapper::CreateThread(JavaRenderThreadFun, this,
|
||||
kRealtimePriority,
|
||||
"AndroidRenderThread");
|
||||
|
||||
if (_javaRenderThread->Start())
|
||||
@ -153,6 +152,7 @@ int32_t VideoRenderAndroid::StartRender() {
|
||||
"%s: Could not start send thread", __FUNCTION__);
|
||||
return -1;
|
||||
}
|
||||
_javaRenderThread->SetPriority(kRealtimePriority);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user