FS-9725: Fix echo if blank image is disabled.

This commit is contained in:
Josh Allmann 2016-12-12 11:16:53 -05:00 committed by Mike Jerris
parent 23d6663c7a
commit ef62523f2a
1 changed files with 1 additions and 1 deletions

View File

@ -5721,7 +5721,7 @@ static void *SWITCH_THREAD_FUNC video_helper_thread(switch_thread_t *thread, voi
vloops++; vloops++;
send_blank = blank_enabled; send_blank = blank_enabled || switch_channel_test_flag(channel, CF_VIDEO_ECHO);
if (switch_channel_test_flag(channel, CF_VIDEO_READY) && !switch_test_flag(read_frame, SFF_CNG)) { if (switch_channel_test_flag(channel, CF_VIDEO_READY) && !switch_test_flag(read_frame, SFF_CNG)) {
switch_mutex_lock(mh->file_read_mutex); switch_mutex_lock(mh->file_read_mutex);