From 22a7caf5b1196d817f0359c56e8c88837084e45b Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 15 May 2009 22:16:41 +0000 Subject: [PATCH] copy flags too git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13371 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/formats/mod_file_string/mod_file_string.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mod/formats/mod_file_string/mod_file_string.c b/src/mod/formats/mod_file_string/mod_file_string.c index 6ce064b50b..20a6bbfe3e 100644 --- a/src/mod/formats/mod_file_string/mod_file_string.c +++ b/src/mod/formats/mod_file_string/mod_file_string.c @@ -87,7 +87,8 @@ static int next_file(switch_file_handle_t *handle) handle->seekable = context->fh.seekable; handle->speed = context->fh.speed; handle->interval = context->fh.interval; - + handle->flags = context->fh.flags; + if (context->index == 0) { context->samples = (handle->samplerate / 1000) * 250; }