From: Anthony Minessale Date: Wed, 3 Dec 2014 00:40:06 +0000 (-0600) Subject: FS-7519: add debug line X-Git-Tag: v1.6.2~614^2~538 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01aea82cbe00ef200467aadfbba6d5d910b0eef9;p=thirdparty%2Ffreeswitch.git FS-7519: add debug line --- diff --git a/src/mod/applications/mod_av/mod_av.c b/src/mod/applications/mod_av/mod_av.c index 2c0b347527..02453d5a64 100644 --- a/src/mod/applications/mod_av/mod_av.c +++ b/src/mod/applications/mod_av/mod_av.c @@ -611,8 +611,9 @@ static switch_status_t switch_h264_encode(switch_codec_t *codec, pic.i_pts = 0; if (context->need_key_frame) { - // pic->i_type = X264_TYPE_KEYFRAME; - pic.i_type = X264_TYPE_IDR; + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "H264 KEYFRAME GENERATED\n"); + //pic.i_type = X264_TYPE_IDR; + pic.i_type = X264_TYPE_KEYFRAME; context->need_key_frame = 0; }