diff --git a/core/AmMediaProcessor.cpp b/core/AmMediaProcessor.cpp index 713d6062..c59b930e 100644 --- a/core/AmMediaProcessor.cpp +++ b/core/AmMediaProcessor.cpp @@ -179,6 +179,7 @@ void AmMediaProcessor::stop() { bool threads_stopped = true; do { usleep(10000); + threads_stopped = true; for (unsigned int i=0;iis_stopped())) { threads_stopped = false;