aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b>2011-06-30 18:19:31 +0000
committermnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b>2011-06-30 18:19:31 +0000
commit9b4afefdcc442d920039e3453a81ad54356fa5bd (patch)
tree8ac35af661d03b844f6a0ef53e13a6396e09658c
parentd93e02e934bef4286db3b4dd014a394af2e0c518 (diff)
copy all flags on asterisk frames instead of just the timing flag
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@325815 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--main/frame.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/frame.c b/main/frame.c
index d82a46313..bb32386ca 100644
--- a/main/frame.c
+++ b/main/frame.c
@@ -381,7 +381,7 @@ struct ast_frame *ast_frisolate(struct ast_frame *fr)
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 @@ struct ast_frame *ast_frdup(const struct ast_frame *f)
/* 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;