diff options
author | Joshua Colp <jcolp@digium.com> | 2007-11-26 17:23:28 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2007-11-26 17:23:28 +0000 |
commit | 99050342667ace749420c388d49a18763a0664cb (patch) | |
tree | 95347f9cf91660d151915fcf7e5cb605e414a6c9 /apps | |
parent | 721b3c8a0eae7bd327ea6aa0e2de14ac1a13cbda (diff) |
Merged revisions 89587 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89587 | file | 2007-11-26 13:20:58 -0400 (Mon, 26 Nov 2007) | 6 lines
Close the audio file before sending it to the post processing application.
(closes issue #11357)
Reported by: reformed
Patches:
mixmonitor.patch uploaded by reformed (license 330)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_mixmonitor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_mixmonitor.c b/apps/app_mixmonitor.c index f60d6f05f..ee49d87bd 100644 --- a/apps/app_mixmonitor.c +++ b/apps/app_mixmonitor.c @@ -191,14 +191,14 @@ static void *mixmonitor_thread(void *obj) if (option_verbose > 1) ast_verbose(VERBOSE_PREFIX_2 "End MixMonitor Recording %s\n", mixmonitor->name); + if (fs) + ast_closestream(fs); + if (mixmonitor->post_process) { if (option_verbose > 2) ast_verbose(VERBOSE_PREFIX_2 "Executing [%s]\n", mixmonitor->post_process); ast_safe_system(mixmonitor->post_process); } - - if (fs) - ast_closestream(fs); ast_free(mixmonitor); |