Author: sayer
Date: 2010-03-03 22:26:25 +0100 (Wed, 03 Mar 2010)
New Revision: 1649
Modified:
trunk/core/AmMediaProcessor.cpp
Log:
fix stopping of media processor threads (thats probably the reason ctrl-c did
not work sometimes)
Modified: trunk/core/AmMediaProcessor.cpp
===================================================================
--- trunk/core/AmMediaProcessor.cpp 2010-03-03 19:35:22 UTC (rev 1648)
+++ trunk/core/AmMediaProcessor.cpp 2010-03-03 21:26:25 UTC (rev 1649)
@@ -179,6 +179,7 @@
bool threads_stopped = true;
do {
usleep(10000);
+ threads_stopped = true;
for (unsigned int i=0;i<num_threads;i++) {
if((threads[i] != NULL) &&(!threads[i]->is_stopped())) {
threads_stopped = false;
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev