Fix logs and statistics

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@70 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
aymeric 2008-10-06 19:53:33 +00:00
parent b9d7c6900c
commit 920f25a271

View file

@ -744,6 +744,8 @@ static void winsnd_write_process(MSFilter *f){
/* initial behavior (detection in process?) */
getq(&d->write_rq);
freemsg(m);
discarded++;
d->stat_notplayed++;
}
else
{
@ -751,16 +753,17 @@ static void winsnd_write_process(MSFilter *f){
{
getq(&d->write_rq);
freemsg(m);
ms_message("WINSND trouble: silence removed");
ms_message("WINSND trouble: silence removed");
discarded++;
d->stat_notplayed++;
}
}
#else
getq(&d->write_rq);
freemsg(m);
#endif
discarded++;
d->stat_notplayed++;
#endif
break;
}