]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7501: remove debug
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 19 Dec 2014 06:37:35 +0000 (00:37 -0600)
committerMichael Jerris <mike@jerris.com>
Thu, 28 May 2015 17:46:52 +0000 (12:46 -0500)
src/switch_core_media.c

index 5ed98ec8e5fd4e765ff887a8285e61ac8d3ed01a..4b4db8d904716e9643aa8b97ceba3ad1f08d0624 100644 (file)
@@ -9831,12 +9831,10 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_video_frame(switch_core
        loops++;
 
        if (switch_channel_down_nosig(session->channel)) {
-               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "FUCKING DOWN\n");
                return SWITCH_STATUS_FALSE;
        }
 
        if (switch_channel_test_flag(session->channel, CF_VIDEO_PAUSE)) {
-               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "FUCKING VID PAUSED\n");
                *frame = &runtime.dummy_cng_frame;
                switch_yield(20000);
                return SWITCH_STATUS_SUCCESS;
@@ -9855,17 +9853,14 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_video_frame(switch_core
        if (status == SWITCH_STATUS_INUSE) {
                *frame = &runtime.dummy_cng_frame;
                switch_yield(20000);
-               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "FUCKING DUMMY\n");
                return SWITCH_STATUS_SUCCESS;
        }
 
        if (status != SWITCH_STATUS_SUCCESS) {
-               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "FUCKING BAD STATUS %d\n", status);
                goto done;
        }
 
        if (!(*frame)) {
-               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "FUCKING NO FRAME\n");
                goto done;
        }
        
@@ -9887,7 +9882,6 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_video_frame(switch_core
 
 
        if (switch_test_flag(*frame, SFF_CNG)) {
-               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "FUCKING CNG\n");
                status = SWITCH_STATUS_SUCCESS;
                goto done;
        }