]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7519: add debug line
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 3 Dec 2014 00:40:06 +0000 (18:40 -0600)
committerMichael Jerris <mike@jerris.com>
Thu, 28 May 2015 17:46:49 +0000 (12:46 -0500)
src/mod/applications/mod_av/mod_av.c

index 2c0b347527e789ade6ffbf2665f7539d039bcc35..02453d5a6421d0c9ac32170171a7e5327bcb30ea 100644 (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;
        }