Clears exception flag during ast_read when func_jitterbuffer is enabled

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@315855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
David Vossel 2011-04-27 17:44:02 +00:00
parent 98f94daf88
commit 237d47b010
1 changed files with 2 additions and 0 deletions

View File

@ -3821,6 +3821,8 @@ static struct ast_frame *__ast_read(struct ast_channel *chan, int dropaudio)
f = &ast_null_frame;
chan->fdno = -1;
goto done;
} else if (chan->fds[AST_JITTERBUFFER_FD] > -1 && chan->fdno == AST_JITTERBUFFER_FD) {
ast_clear_flag(chan, AST_FLAG_EXCEPTION);
}
/* Check for pending read queue */