add changed files

This commit is contained in:
smogm
2015-01-11 18:12:55 +01:00
parent 626c785081
commit c37263f594
9 changed files with 21 additions and 18 deletions

View File

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