From: Joshua Colp Date: Fri, 7 Jul 2006 23:57:53 +0000 (+0000) Subject: Change message regarding marker bit forcing when SSRC changes to be shown only during... X-Git-Tag: 1.2.10~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1b24163532abf4c5aab79ca5a74091386fa3814;p=thirdparty%2Fasterisk.git Change message regarding marker bit forcing when SSRC changes to be shown only during debug so it doesn't overload high capacity systems git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37307 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/rtp.c b/rtp.c index c08d18abc8..9b328396a0 100644 --- a/rtp.c +++ b/rtp.c @@ -497,8 +497,8 @@ struct ast_frame *ast_rtp_read(struct ast_rtp *rtp) ssrc = ntohl(rtpheader[2]); if (!mark && rtp->rxssrc && rtp->rxssrc != ssrc) { - if (option_verbose > 1) - ast_verbose(VERBOSE_PREFIX_2 "Forcing Marker bit, because SSRC has changed\n"); + if (option_debug || rtpdebug) + ast_log(LOG_DEBUG, "Forcing Marker bit, because SSRC has changed\n"); mark = 1; }