Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | decoder_internal: decoder_input_buffer() returns bool | Max Kellermann | 2009-12-15 | 1 | -4/+4 |
| | | | | | | This fixes a regression: a boolean value was returned from decoder_input_buffer(), but the caller chose to do a "<= 0" comparison. | ||||
* | input/archive: use g_path_is_absolute() | Max Kellermann | 2009-12-15 | 1 | -1/+1 |
| | | | | | .. instead of manually checking pathname[0]=='/'. g_path_is_absolute() is portable. | ||||
* | archive/bz2: simplified error handling, short read | Max Kellermann | 2009-12-15 | 1 | -34/+23 |
| | | | | | Don't attempt to fill the whole buffer in the read() method, return whatever libbz2 provides with the first successful BZ2_bzDecompress(). | ||||
* | archive/bz2: no CamelCase | Max Kellermann | 2009-12-15 | 1 | -11/+10 |
| | |||||
* | archive/zzip: removed the "zip_context" typedef | Max Kellermann | 2009-12-15 | 1 | -11/+11 |
| | | | | Use the raw struct name. | ||||
* | archive/zip: renamed plugin to "zzip" | Max Kellermann | 2009-12-15 | 2 | -31/+31 |
| | | | | This plugin is based on libzzip. | ||||
* | Merge branch 'v0.15.x' | Max Kellermann | 2009-12-15 | 5 | -4/+15 |
|\ | | | | | | | | | | | | | | | Conflicts: src/archive/bz2_plugin.c src/archive_api.h src/input/file_input_plugin.c test/run_input.c | ||||
| * | iso, zip: fixed memory leak in destructor | Max Kellermann | 2009-12-15 | 2 | -2/+4 |
| | | | | | | | | Free the "context" pointer in the method archive_plugin.close(). | ||||
| * | archive: close archive when stream is closed | Max Kellermann | 2009-12-15 | 4 | -0/+9 |
| | | | | | | | | | | | | | | | | Fixes a memory leak: the "archive" input plugin opens the archive, but never closes it. This patch moves the responsibility for doing that to archive_plugin.open_stream(). This is an slight internal API change, but it is the simplest and least intrusive fix for the memory leak. | ||||
| * | archive/bz2: removed NULL check before g_free() | Max Kellermann | 2009-12-15 | 1 | -2/+2 |
| | | | | | | | | g_free(NULL) is allowed. | ||||
| * | input/archive: close the archive file on error | Max Kellermann | 2009-12-15 | 1 | -0/+1 |
| | | | | | | | | Fixed memory leak in error handler. | ||||
| * | input/file: don't fall back to parent directory | Max Kellermann | 2009-12-15 | 1 | -18/+3 |
| | | | | | | | | | | This code has never made any sense, and has broken some of the archive plugin. | ||||
* | | input/file: don't fall back to parent directory | Max Kellermann | 2009-12-15 | 1 | -18/+3 |
| | | | | | | | | | | This code has never made any sense, and has broken some of the archive plugin. | ||||
* | | archive_api.h: moved struct archive_plugin to archive_plugin.h | Max Kellermann | 2009-12-15 | 4 | -61/+89 |
| | | |||||
* | | archive_list: don't include archive_api.h | Max Kellermann | 2009-12-15 | 2 | -2/+1 |
| | | | | | | | | Use struct forward declarations. | ||||
* | | archive_list: iterate with NULL check | Max Kellermann | 2009-12-15 | 1 | -12/+6 |
| | | | | | | | | Don't use num_archive_plugins. | ||||
* | | archive/bz2: bz2_fillbuffer() returns bool | Max Kellermann | 2009-12-15 | 1 | -5/+6 |
| | | |||||
* | | archive/bz2: fixed indentation | Max Kellermann | 2009-12-15 | 1 | -15/+22 |
| | | |||||
* | | archive/bz2: g_malloc() cannot fail | Max Kellermann | 2009-12-15 | 1 | -4/+2 |
| | | |||||
* | | fixed several gcc warnings on unused debug variables | Max Kellermann | 2009-12-14 | 3 | -2/+3 |
| | | |||||
* | | decoder/mikmod: fixed gcc uninitialized warning | Max Kellermann | 2009-12-14 | 1 | -2/+1 |
| | | | | | | | | Removed local variable "sample_rate". | ||||
* | | input_plugin: method init() returns errors with GError | Max Kellermann | 2009-12-14 | 5 | -11/+52 |
| | | | | | | | | | | Not used by any plugin currently, but this eliminates the g_error() call in input_plugin_config(), so it's worth it. | ||||
* | | input_stream: moved input_stream_global_init() to input_init.c | Max Kellermann | 2009-12-14 | 5 | -62/+111 |
| | | |||||
* | | input_stream: moved plugin list to input_registry.c | Max Kellermann | 2009-12-14 | 3 | -30/+89 |
| | | |||||
* | | input_stream: make input_plugins NULL terminated | Max Kellermann | 2009-12-14 | 1 | -7/+5 |
| | | | | | | | | This is easier to traverse. | ||||
* | | filter: added normalize filter plugin | Max Kellermann | 2009-12-14 | 3 | -0/+125 |
| | | | | | | | | Wrap the AudioCompress library in a filter plugin. | ||||
* | | Fix and use filter_configured_new() | Albin Eldstål-Damlin | 2009-12-14 | 2 | -25/+8 |
| | | |||||
* | | Proper error reporting from filter_config | Albin Eldstål-Damlin | 2009-12-14 | 3 | -21/+45 |
| | | |||||
* | | Fixed memory leak on incorrect route configuration | Albin Eldstål-Damlin | 2009-12-14 | 1 | -0/+4 |
| | | |||||
* | | Split filter_config into its own module | Albin Eldstål-Damlin | 2009-12-14 | 5 | -109/+173 |
| | | |||||
* | | Error reporting, pcm_buffer, performance tweaks | Albin Eldstål-Damlin | 2009-12-14 | 1 | -52/+48 |
| | | |||||
* | | Initial filter chain and filter configuration for outputs. | Albin Eldstål-Damlin | 2009-12-14 | 4 | -0/+118 |
| | | |||||
* | | Initial (statically configured) route filter plugin | Albin Eldstål-Damlin | 2009-12-14 | 3 | -0/+347 |
| | | |||||
* | | Minor documentation fix | Albin Eldstål-Damlin | 2009-12-14 | 1 | -2/+2 |
| | | |||||
* | | Merge branch 'v0.15.x' | Max Kellermann | 2009-12-14 | 8 | -17/+45 |
|\| | | | | | | | | | Conflicts: src/decoder/ffmpeg_plugin.c | ||||
| * | decoder/wavpack: don't use the nonstandard "uchar" type | Max Kellermann | 2009-12-11 | 1 | -1/+1 |
| | | | | | | | | Use the signed C99 type int8_t instead. | ||||
| * | mixer: explicitly close all mixers on shutdown | Max Kellermann | 2009-12-08 | 1 | -0/+4 |
| | | | | | | | | | | | | Mixers with the "global" flag set aren't closed automatically when the output device is closed. Thus, they might still be open when MPD shuts down. | ||||
| * | mapper: apply filesystem_charset to playlists | Max Kellermann | 2009-12-08 | 4 | -11/+36 |
| | | | | | | | | | | | | | | | | This fixes an inconsistency in the stored playlist subsystem: when obtaining the list of playlists (listplaylist, listplaylistinfo), the file names in the playlist directory are converted to UTF-8 (according to filesystem_charset), but when saving or loading playlists, the filesystem_charset setting was ignored. | ||||
| * | command: verify playlist name in the "rm" command | Max Kellermann | 2009-12-08 | 1 | -0/+3 |
| | | | | | | | | Call spl_valid_name() in spl_delete(). | ||||
| * | mapper: fix memory leak when playlist_directory is not set | Max Kellermann | 2009-12-08 | 1 | -2/+2 |
| | | | | | | | | Don't allocate the file name before the playlist_dir==NULL check. | ||||
| * | tag_id3: fix ID3v1 charset conversion | svitoos | 2009-11-30 | 1 | -1/+1 |
| | | | | | | | | | | If we define id3v1_encoding, then the tags are not added to the database. | ||||
| * | ffmpeg: don't try to force stereo | Max Kellermann | 2009-11-30 | 1 | -4/+0 |
| | | | | | | | | | | | | The plugin code tried to force libavcodec to supply stereo samples. That however has never actually worked. By removing this code, we are able to play surround files for the first time. | ||||
* | | decoder_api: prefer stream_tag over decoder_tag | Thomas Jansen | 2009-12-07 | 1 | -2/+2 |
| | | | | | | | | | | | | If both tags (stream and decoder) are present, we prefer the stream tag. Fixes #2698, where ICY tag contained useful information, but was overwritten with bogus decoder tag data. | ||||
* | | pcm_volume: change old code to use format instead of bits | Viliam Mateicka | 2009-12-03 | 1 | -1/+1 |
| | | |||||
* | | encoders: remove unnessesary pointers to const strings | Viliam Mateicka | 2009-12-03 | 5 | -15/+5 |
| | | |||||
* | | httpd: use get_mime_type to determine encoder content | Viliam Mateicka | 2009-12-03 | 1 | -7/+6 |
| | | |||||
* | | encoders: implement new get_mime_types method | Viliam Mateicka | 2009-12-03 | 5 | -0/+45 |
| | | |||||
* | | encoder: add get_mime_type() method to determine content type by httpd ↵ | Viliam Mateicka | 2009-12-03 | 1 | -0/+17 |
| | | | | | | | | output plugin | ||||
* | | pcm_mix: change old code to use format instead of bits | Viliam Mateicka | 2009-12-03 | 1 | -1/+1 |
| | | |||||
* | | null_encoder: use pcm_buffer | Viliam Mateicka | 2009-12-03 | 1 | -10/+18 |
| | |