]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_sangoma_codec: Remove debug message that is seldom needed anymore and
authorMoises Silva <moy@sangoma.com>
Mon, 20 Aug 2012 22:39:04 +0000 (18:39 -0400)
committerMoises Silva <moy@sangoma.com>
Mon, 20 Aug 2012 22:39:04 +0000 (18:39 -0400)
                   seems to be causing confusion and annoying users

src/mod/codecs/mod_sangoma_codec/mod_sangoma_codec.c

index 2be953393684004268b229df25dd4b84a9dae881..4cc3c2de795f4e99f1d2b07cd3115dc3fbd5695f 100644 (file)
@@ -578,8 +578,10 @@ static switch_status_t switch_sangoma_encode(switch_codec_t *codec, switch_codec
                        if (sess->encoder.rtp_queue[sess->encoder.queue_rindex].datalen) {
                                /* if there is something where we want to write, we're dropping it */
                                sess->encoder.rxdiscarded++;
+#if 0
                                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Discarding encoded frame of %d bytes from RTP session %lu, windex = %d, rindex = %d\n", 
                                                sess->encoder.rtp_queue[sess->encoder.queue_rindex].datalen, sess->sessid, sess->encoder.queue_windex, sess->encoder.queue_rindex);
+#endif
                                SAFE_INDEX_INC(sess->encoder.rtp_queue, sess->encoder.queue_rindex);
                                sess->encoder.queue_size--;
                        }
@@ -766,8 +768,10 @@ static switch_status_t switch_sangoma_decode(switch_codec_t *codec,        /* codec ses
                        if (sess->decoder.rtp_queue[sess->decoder.queue_rindex].datalen) {
                                /* if there is something where we want to write, we're dropping it */
                                sess->decoder.rxdiscarded++;
+#if 0
                                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Discarding decoded frame of %d bytes from RTP session %lu, windex = %d, rindex = %d\n", 
                                                sess->decoder.rtp_queue[sess->decoder.queue_rindex].datalen, sess->sessid, sess->decoder.queue_windex, sess->decoder.queue_rindex);
+#endif
                                SAFE_INDEX_INC(sess->decoder.rtp_queue, sess->decoder.queue_rindex);
                                sess->decoder.queue_size--;
                        }