]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7500: sync up going both ways after picture reset
authorAnthony Minessale <anthm@freeswitch.org>
Sat, 22 Nov 2014 23:10:53 +0000 (18:10 -0500)
committerMichael Jerris <mike@jerris.com>
Thu, 28 May 2015 17:46:48 +0000 (12:46 -0500)
src/switch_core_media.c

index f3bb24724e3615314f1ea6705453a57b8e7ea424..693328c4f95528396c2e37ec9db3002096d8eb9c 100644 (file)
@@ -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;