From 1d844f150b6d734e947f5414d770419bcde95a9a Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 10 Dec 2014 13:27:12 -0600 Subject: [PATCH] FS-7514: don't auto answer in decode_video --- src/mod/formats/mod_vlc/mod_vlc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/formats/mod_vlc/mod_vlc.c b/src/mod/formats/mod_vlc/mod_vlc.c index 09d4215bce..5598396260 100644 --- a/src/mod/formats/mod_vlc/mod_vlc.c +++ b/src/mod/formats/mod_vlc/mod_vlc.c @@ -618,7 +618,7 @@ SWITCH_STANDARD_APP(play_video_function) switch_buffer_create_dynamic(&(context->audio_buffer), VLC_BUFFER_SIZE, VLC_BUFFER_SIZE * 8, 0); - switch_channel_answer(channel); + switch_channel_pre_answer(channel); switch_core_session_get_read_impl(session, &read_impl); switch_core_session_receive_message(session, &msg);