diff options
author | Russell Bryant <russell@russellbryant.com> | 2006-08-30 17:07:07 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2006-08-30 17:07:07 +0000 |
commit | 1ffff64e66bebf5210b425daab65ecf8044a5e59 (patch) | |
tree | 97fe47aa5367f0d373f8ca37d78f292b009780a1 /main/channel.c | |
parent | 11b5db3d6114a0415ee42e3d5ffe7117d8ae7fd4 (diff) |
fix a bug introduced when I merged my frame caching branch. Queue the
translated frame to the spies, *not* the original frame. Thanks PCadach!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41389 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/channel.c')
-rw-r--r-- | main/channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/channel.c b/main/channel.c index 84e54b806..61df3d243 100644 --- a/main/channel.c +++ b/main/channel.c @@ -1359,7 +1359,7 @@ static void queue_frame_to_spies(struct ast_channel *chan, struct ast_frame *f, break; } } - AST_LIST_INSERT_TAIL(&queue->list, ast_frdup(f), frame_list); + AST_LIST_INSERT_TAIL(&queue->list, ast_frdup(translated_frame), frame_list); } else { if (f->subclass != queue->format) { ast_log(LOG_WARNING, "Spy '%s' on channel '%s' wants format '%s', but frame is '%s', dropping\n", |