FS-7656 skip main file as well as chime file when hup is called during chime

This commit is contained in:
Anthony Minessale 2015-06-24 17:34:34 -05:00
parent 4980389bc0
commit f107ea54a8

View File

@ -358,10 +358,10 @@ static void *SWITCH_THREAD_FUNC read_stream_thread(switch_thread_t *thread, void
flush_video_queue(source->video_q); flush_video_queue(source->video_q);
if (use_fh == &source->chime_fh) { if (use_fh == &source->chime_fh) {
source->chime_counter = source->rate * source->chime_freq; source->chime_counter = source->rate * source->chime_freq;
use_fh = &fh; switch_core_file_close(&fh);
goto retry; use_fh = &fh;
//switch_core_file_close(&fh);
} }
goto retry;
} }
} }