Module: sems Branch: master Commit: 45cb45ec0b8ad641b7bdcba6758cf011c4619371 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=45cb45ec0b8ad641b7bdcba6758cf011c4619371
Author: Stefan Sayer <[email protected]> Committer: Stefan Sayer <[email protected]> Date: Wed Jul 14 12:51:44 2010 +0200 fix: error handling of local audio output thanks to Mark Sidell for the fix --- core/AmMediaProcessor.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/core/AmMediaProcessor.cpp b/core/AmMediaProcessor.cpp index 8a25223..bed8331 100644 --- a/core/AmMediaProcessor.cpp +++ b/core/AmMediaProcessor.cpp @@ -373,7 +373,7 @@ void AmMediaProcessorThread::processAudio(unsigned int ts) // output is local - audio should go in local_out AmAudio* local_output = s->getLocalOutput(); if (local_output) { - if (local_output->put(ts,buffer,size)) { + if (local_output->put(ts,buffer,size) < 0) { postRequest(new SchedRequest(AmMediaProcessor::ClearSession,s)); } } _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
