FS-7500: fix some regressions regarding passthru video

This commit is contained in:
Anthony Minessale authored and Michael Jerris committed 2015-05-28 12:47:14 -05:00
1 parent 0fc2c54b11
commit 84ca513353
3 files changed
+13 -10

No files matched your search

+5 -2
View File
@@ -1966,8 +1966,11 @@ SWITCH_DECLARE(void) switch_channel_clear_flag(switch_channel_t *channel, switch
ACTIVE = 1;
}
if (flag == CF_VIDEO_PASSIVE && channel->flags[flag]) {
CLEAR = 1;
if (flag == CF_VIDEO_PASSIVE) {
channel->flags[CF_VIDEO_READY] = 1;
if (channel->flags[flag]) {
CLEAR = 1;
}
}
channel->flags[flag] = 0;