From: Anthony Minessale Date: Sat, 22 Nov 2014 23:10:53 +0000 (-0500) Subject: FS-7500: sync up going both ways after picture reset X-Git-Tag: v1.6.2~614^2~557 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8b00acda7b7a85a4938704a6e6c8e311c3e2915;p=thirdparty%2Ffreeswitch.git FS-7500: sync up going both ways after picture reset --- diff --git a/src/switch_core_media.c b/src/switch_core_media.c index f3bb24724e..693328c4f9 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -9591,7 +9591,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_write_video_frame(switch_cor } if (!smh->video_init && smh->mparams->video_key_first && (now - smh->video_last_key_time) > smh->mparams->video_key_first) { - switch_core_media_gen_key_frame(smh->session); + switch_core_session_refresh_video_both_ways(smh->session); if (smh->video_last_key_time) { smh->video_init = 1;