diff --git a/src/switch_core_media.c b/src/switch_core_media.c index 84a73eb151..6e224b3b0f 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -10993,7 +10993,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_video_frame(switch_core decode_status = switch_core_codec_decode_video((*frame)->codec, *frame); - if ((*frame)->img) {// && switch_channel_test_flag(session->channel, CF_VIDEO_DEBUG_READ)) { + if ((*frame)->img) && switch_channel_test_flag(session->channel, CF_VIDEO_DEBUG_READ)) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "IMAGE %dx%d %dx%d\n", (*frame)->img->w, (*frame)->img->h, (*frame)->img->d_w, (*frame)->img->d_h); }