diff options
author | wm4 <wm4@nowhere> | 2014-01-24 21:30:15 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-01-24 21:30:15 +0100 |
commit | 39b40e1ffb1e3fcf81ec4a4afe88c974adb2efcd (patch) | |
tree | 006930f584e55ca721e587199b359c9be548ac04 /audio/filter/af_export.c | |
parent | f46e188ec5952693c08d0572558a13f9a92504f8 (diff) | |
download | mpv-39b40e1ffb1e3fcf81ec4a4afe88c974adb2efcd.tar.bz2 mpv-39b40e1ffb1e3fcf81ec4a4afe88c974adb2efcd.tar.xz |
audio/filter: remove redundant log message prefixes
These are now appended automatically, so you'd get them twice before
this commit.
Diffstat (limited to 'audio/filter/af_export.c')
-rw-r--r-- | audio/filter/af_export.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/audio/filter/af_export.c b/audio/filter/af_export.c index a5a8257c39..542b2a1f9f 100644 --- a/audio/filter/af_export.c +++ b/audio/filter/af_export.c @@ -95,20 +95,20 @@ static int control(struct af_instance* af, int cmd, void* arg) // Allocate new buffers (as one continuous block) s->buf[0] = calloc(s->sz*af->data->nch, af->data->bps); if(NULL == s->buf[0]) - MP_FATAL(af, "[export] Out of memory\n"); + MP_FATAL(af, "Out of memory\n"); for(i = 1; i < af->data->nch; i++) s->buf[i] = (uint8_t *)s->buf[0] + i*s->sz*af->data->bps; if (!s->filename) { - MP_FATAL(af, "[export] No filename set.\n"); + MP_FATAL(af, "No filename set.\n"); return AF_ERROR; } // Init memory mapping s->fd = open(s->filename, O_RDWR | O_CREAT | O_TRUNC | O_CLOEXEC, 0640); - MP_INFO(af, "[export] Exporting to file: %s\n", s->filename); + MP_INFO(af, "Exporting to file: %s\n", s->filename); if(s->fd < 0) { - MP_FATAL(af, "[export] Could not open/create file: %s\n", + MP_FATAL(af, "Could not open/create file: %s\n", s->filename); return AF_ERROR; } @@ -125,8 +125,8 @@ static int control(struct af_instance* af, int cmd, void* arg) // mmap size s->mmap_area = mmap(0, mapsize, PROT_READ|PROT_WRITE,MAP_SHARED, s->fd, 0); if(s->mmap_area == NULL) - MP_FATAL(af, "[export] Could not mmap file %s\n", s->filename); - MP_INFO(af, "[export] Memory mapped to file: %s (%p)\n", + MP_FATAL(af, "Could not mmap file %s\n", s->filename); + MP_INFO(af, "Memory mapped to file: %s (%p)\n", s->filename, s->mmap_area); // Initialize header |