From a8b00acda7b7a85a4938704a6e6c8e311c3e2915 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Sat, 22 Nov 2014 18:10:53 -0500 Subject: [PATCH] FS-7500: sync up going both ways after picture reset --- src/switch_core_media.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;