diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-05-16 20:53:59 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-05-16 20:53:59 +0000 |
commit | 03a6acef4c667de767751c5cb4b51f49627b90c7 (patch) | |
tree | a97a827b3cfbc0db065fefeaa0c0343ae5ac5ebe | |
parent | 09f0d0884f6721e23db98c6d4ed811b8de78739e (diff) |
Fixed excessive jitter prefetch message when silence detector is applied in remote
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@450 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r-- | pjmedia/src/pjmedia/stream.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pjmedia/src/pjmedia/stream.c b/pjmedia/src/pjmedia/stream.c index 37795243..29430ccd 100644 --- a/pjmedia/src/pjmedia/stream.c +++ b/pjmedia/src/pjmedia/stream.c @@ -290,9 +290,11 @@ static pj_status_t get_frame( pjmedia_port *port, pjmedia_frame *frame) } while (samples_count < samples_required); - PJ_LOG(5,(stream->port.info.name.ptr, - "Jitter buffer is bufferring with plc (prefetch=%d)", - jb_state.prefetch)); + if (channel->last_frm_type != frame_type) { + PJ_LOG(5,(stream->port.info.name.ptr, + "Jitter buffer is bufferring with plc (prefetch=%d)", + jb_state.prefetch)); + } } |