From 6822994d255f4af851d2309175079a4b65a7394a Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 19 Nov 2014 17:59:57 -0600 Subject: [PATCH] FS-7500: video_decoded_echo to echo_decode_video --- src/switch_ivr_async.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/src/switch_ivr_async.c b/src/switch_ivr_async.c index 9fa11c9f78..af127feb9e 100644 --- a/src/switch_ivr_async.c +++ b/src/switch_ivr_async.c @@ -644,7 +644,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_session_echo(switch_core_session_t *s arg_recursion_check_start(args); - if (switch_true(switch_channel_get_variable(channel, "video_decoded_echo"))) { + if (switch_true(switch_channel_get_variable(channel, "echo_decode_video"))) { switch_channel_set_flag(channel, CF_VIDEO_DECODED_READ); } @@ -691,23 +691,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_session_echo(switch_core_session_t *s } } - switch_core_session_write_frame(session, read_frame, SWITCH_IO_FLAG_NONE, 0); -#ifndef SWITCH_VIDEO_IN_THREADS - status = switch_core_session_read_video_frame(session, &read_frame, SWITCH_IO_FLAG_NONE, 0); - - if (!SWITCH_READ_ACCEPTABLE(status)) { - break; - } - - if (switch_test_flag(read_frame, SFF_CNG)) { - continue; - } - - switch_core_session_write_video_frame(session, read_frame, SWITCH_IO_FLAG_NONE, 0); -#endif - if (switch_channel_test_flag(channel, CF_BREAK)) { switch_channel_clear_flag(channel, CF_BREAK); break;