FS-7519: add debug line

This commit is contained in:
Anthony Minessale 2014-12-02 18:40:06 -06:00 committed by Michael Jerris
parent 03d870bb19
commit 01aea82cbe
1 changed files with 3 additions and 2 deletions

View File

@ -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;
}