FS-7500: reverse default for CF_VIDEO_ECHO to false and now it must be enabled when desired instead of disabled when not needed

This commit is contained in:
Anthony Minessale authored and Michael Jerris committed 2015-05-28 12:46:47 -05:00
1 parent 4dc155f164
commit c584bf5511
6 files changed
+3 -16

No files matched your search

-3
View File
@@ -616,7 +616,6 @@ SWITCH_STANDARD_APP(play_yuv_function)
yuv = img->planes[SWITCH_PLANE_PACKED];
// switch_channel_set_flag(channel, CF_VIDEO_PASSIVE);
switch_channel_clear_flag(channel, CF_VIDEO_ECHO);
vid_buffer = switch_core_session_alloc(session, SWITCH_RECOMMENDED_BUFFER_SIZE);
@@ -699,9 +698,7 @@ SWITCH_STANDARD_APP(play_yuv_function)
done:
switch_core_session_reset(session, SWITCH_TRUE, SWITCH_TRUE);
// switch_channel_clear_flag(channel, CF_VIDEO_PASSIVE);
switch_channel_set_flag(channel, CF_VIDEO_ECHO);
}