[svn-commits] russell: trunk r41389 - /trunk/main/channel.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Wed Aug 30 10:07:08 MST 2006


Author: russell
Date: Wed Aug 30 12:07:07 2006
New Revision: 41389

URL: http://svn.digium.com/view/asterisk?rev=41389&view=rev
Log:
fix a bug introduced when I merged my frame caching branch.  Queue the
translated frame to the spies, *not* the original frame.  Thanks PCadach!

Modified:
    trunk/main/channel.c

Modified: trunk/main/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/main/channel.c?rev=41389&r1=41388&r2=41389&view=diff
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Wed Aug 30 12:07:07 2006
@@ -1359,7 +1359,7 @@
 					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",



More information about the svn-commits mailing list