[asterisk-commits] mnicholson: branch irroot/t38gateway-trunk r321539 - /team/irroot/t38gateway-...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 1 15:16:31 CDT 2011


Author: mnicholson
Date: Wed Jun  1 15:16:25 2011
New Revision: 321539

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=321539
Log:
copy all flags on frames when duplicating and isolating.  This allows for custom flags on frames.

Modified:
    team/irroot/t38gateway-trunk/main/frame.c

Modified: team/irroot/t38gateway-trunk/main/frame.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/t38gateway-trunk/main/frame.c?view=diff&rev=321539&r1=321538&r2=321539
==============================================================================
--- team/irroot/t38gateway-trunk/main/frame.c (original)
+++ team/irroot/t38gateway-trunk/main/frame.c Wed Jun  1 15:16:25 2011
@@ -381,7 +381,7 @@
 		out->samples = fr->samples;
 		out->offset = fr->offset;
 		/* Copy the timing data */
-		ast_copy_flags(out, fr, AST_FRFLAG_HAS_TIMING_INFO);
+		ast_copy_flags(out, fr, AST_FLAGS_ALL);
 		if (ast_test_flag(fr, AST_FRFLAG_HAS_TIMING_INFO)) {
 			out->ts = fr->ts;
 			out->len = fr->len;
@@ -505,7 +505,7 @@
 		/* Must have space since we allocated for it */
 		strcpy(src, f->src);
 	}
-	ast_copy_flags(out, f, AST_FRFLAG_HAS_TIMING_INFO);
+	ast_copy_flags(out, f, AST_FLAGS_ALL);
 	out->ts = f->ts;
 	out->len = f->len;
 	out->seqno = f->seqno;




More information about the asterisk-commits mailing list