Revert "fix thread namespace"

This reverts commit 3ef2eeb8aa.
This commit is contained in:
max_10
2018-09-20 17:42:46 +02:00
committed by Thilo Graf
parent 1aece863c1
commit bc7be9dd74
8 changed files with 23 additions and 23 deletions

View File

@@ -145,7 +145,7 @@ int cVideo::Start(void *, unsigned short, unsigned short, void *)
{
lt_debug("%s running %d >\n", __func__, thread_running);
if (!thread_running && !HAL_nodec)
SimpleThread::startThread();
startThread();
lt_debug("%s running %d <\n", __func__, thread_running);
return 0;
}
@@ -155,7 +155,7 @@ int cVideo::Stop(bool)
lt_debug("%s running %d >\n", __func__, thread_running);
if (thread_running) {
thread_running = false;
SimpleThread::joinThread();
joinThread();
}
lt_debug("%s running %d <\n", __func__, thread_running);
return 0;