Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-08-13 | decoder/ffmpeg: use avcodec_descriptor_get() to determine codec name | Max Kellermann | 1 | -0/+9 | |
In version 11, both ffmpeg and libav deprecate AVCodecContext::codec_name. The function avcodec_descriptor_get() has been introduced long ago. | |||||
2014-03-18 | decoder/ffmpeg: handle unknown stream start time | Max Kellermann | 1 | -2/+25 | |
2014-03-18 | decoder/ffmpeg: pass AVSEEK_FLAG_ANY to av_seek_frame() | Max Kellermann | 1 | -1/+1 | |
This corrects a major mistake from commit 724a59aa - there was one small thing that commit was supposed to do, and it failed. AV_TIME_BASE is not a seek flag. | |||||
2014-01-15 | decoder/ffmpeg: support libav v10_alpha1 | Max Kellermann | 1 | -1/+11 | |
2014-01-15 | decoder/ffmpeg: include cleanup | Max Kellermann | 1 | -1/+0 | |
2014-01-15 | decoder/ffmpeg: check for av_samples_get_buffer_size() errors | Max Kellermann | 1 | -0/+3 | |
Fixes potential nullptr dereference. | |||||
2013-12-20 | fix FfmpegDecoderPlugin to use relative timestamps | Steven O'Brien | 1 | -4/+6 | |
2013-11-28 | decoder/ffmpeg: use IgnoreError instead of local Error instance | Max Kellermann | 1 | -5/+2 | |
2013-11-04 | Log: add level "DEFAULT" | Max Kellermann | 1 | -2/+2 | |
Map LogLevel::INFO to G_LOG_LEVEL_INFO, and LogLevel::DEFAULT to G_LOG_LEVEL_MESSAGE. Now client connect/disconnect message are only logged on log_level "secure". | |||||
2013-10-23 | input_stream: rename struct to InputStream | Max Kellermann | 1 | -15/+15 | |
2013-10-23 | InputStream: add method Rewind() | Max Kellermann | 1 | -10/+4 | |
2013-10-21 | decoder: rename the struct to "Decoder" | Max Kellermann | 1 | -7/+7 | |
2013-10-21 | decoder_plugin: rename struct to DecoderPlugin | Max Kellermann | 1 | -1/+1 | |
2013-10-19 | *: use nullptr instead of NULL | Max Kellermann | 1 | -17/+17 | |
2013-10-19 | decoder/gme,input/curl,...: use static buffers instead of g_strdup_printf() | Max Kellermann | 1 | -13/+7 | |
2013-10-02 | Log: new logging library API | Max Kellermann | 1 | -27/+33 | |
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | |||||
2013-09-27 | DecoderCommand: convert to strictly-typed enum | Max Kellermann | 1 | -7/+6 | |
2013-09-05 | Tag, ...: move to libtag.a | Max Kellermann | 1 | -1/+1 | |
2013-09-05 | InputLegacy: move functions to the input_stream class | Max Kellermann | 1 | -3/+2 | |
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -6/+9 | |
Replaces GLib's GError. | |||||
2013-08-07 | FfmpegDecoderPlugin: Allocate the interleaved buffer as needed instead of ↵ | Alexis Ballier | 1 | -17/+29 | |
using an arbitrary big constant. Also, save a memcpy when FFmpeg outputs interleaved audio. Fixes build with FFmpeg 2.0. | |||||
2013-08-05 | decoder/ffmpeg: convert struct mpd_ffmpeg_stream to a class | Max Kellermann | 1 | -47/+28 | |
2013-08-04 | *: use gcc.h macros instead of GLib | Max Kellermann | 1 | -4/+4 | |
2013-08-04 | DecoderPlugin: pass config_param reference | Max Kellermann | 1 | -1/+1 | |
2013-08-03 | audio_format: convert to C++ | Max Kellermann | 1 | -10/+15 | |
2013-07-31 | decoder/ffmpeg: require ffmpeg/libav 0.8 | Max Kellermann | 1 | -89/+0 | |
Now that even Debian stable has picked up version 0.8, we can safely make this a requirement, and remove a lot of old cruft. | |||||
2013-07-29 | audio_check: convert to C++ | Max Kellermann | 1 | -4/+1 | |
2013-07-29 | tag_handler: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-07-28 | decoder_api: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-04-08 | decoder/ffmpeg: suppress warning about unused variable | Max Kellermann | 1 | -0/+2 | |
Only relevant for old ffmpeg versions. | |||||
2013-04-05 | ffmpeg decoder plugin: do not allocate an AVFrame on stack. | Anton Khirnov | 1 | -5/+24 | |
AVFrame must be allocated with avcodec_alloc_frame(). | |||||
2013-01-28 | InputStream: use std::string | Max Kellermann | 1 | -3/+4 | |
2013-01-28 | decoder/ffmpeg: require ffmpeg/libav 0.7.6 | Max Kellermann | 1 | -65/+3 | |
This is the version present in Ubuntu Oneiric, the oldest distribution with gcc 4.6. Debian Squeeze is off target, because it has gcc 4.4, which is unable to compile MPD anyway. This commit drops all API compatibility hacks for older versions. | |||||
2013-01-26 | input_stream: forward-declare the struct | Max Kellermann | 1 | -0/+1 | |
Hide the definition from C code, to prepare the transition to C++. | |||||
2013-01-26 | decoder/ffmpeg: convert to C++ | Max Kellermann | 1 | -18/+30 | |
2013-01-16 | decoder/ffmpeg: support float planar audio | Brice Jaglin | 1 | -0/+5 | |
2012-10-05 | decoder/ffmpeg: support planar audio | Max Kellermann | 1 | -0/+6 | |
Implements Mantis feature request 3582. | |||||
2012-10-05 | decoder/ffmpeg: fix playback of planar PCM data | Max Kellermann | 1 | -8/+13 | |
Interleaving was completely wrong. This code was never used, so it didn't have an effect. | |||||
2012-10-05 | decoder/ffmpeg: move code to copy_interleave_frame2() | Max Kellermann | 1 | -5/+14 | |
2012-10-05 | decoder/ffmpeg: ignore negative time stamps | Max Kellermann | 1 | -1/+1 | |
Works around assertion failure in decoder_timestamp(). | |||||
2012-10-05 | decoder/ffmpeg: show unsupported sample format name | Max Kellermann | 1 | -2/+13 | |
Use av_get_sample_fmt_string() to obtain a human-readable string. | |||||
2012-10-05 | decoder/ffmpeg: pass AVSampleFormat to ffmpeg_sample_format() | Max Kellermann | 1 | -4/+9 | |
API simplification. | |||||
2012-10-05 | decoder/ffmpeg: remove duplicate sample format error message | Max Kellermann | 1 | -1/+6 | |
2012-05-29 | decoder/ffmpeg: improve "decoding failed" message | Jonathan Neuschäfer | 1 | -1/+1 | |
"Frame skipped" might cause the impression that the decoding of a whole song failed. | |||||
2012-05-29 | decoder/ffmpeg: add webm as a supported format | Jonathan Neuschäfer | 1 | -1/+3 | |
2012-02-13 | decoder/ffmpeg: read the "year" tag | Max Kellermann | 1 | -1/+1 | |
This was disabled when compiled with a new ffmpeg version. Older ffmpeg versions used it explicitly, while newer ones may pass it through from the codec. | |||||
2012-02-11 | decoder_plugin: scan tags with callback table | Max Kellermann | 1 | -15/+16 | |
Pass a callback table to scan_file() and scan_stream(), instead of returning a tag object. | |||||
2012-02-11 | decoder/ffmpeg: move code to ffmpeg_metadata.c | Max Kellermann | 1 | -46/+1 | |
2012-02-11 | decoder/ffmpeg: remove AV_VERSION_INT definition | Max Kellermann | 1 | -5/+0 | |
All supported ffmpeg/libav versions have this. | |||||
2012-02-03 | decoder/ffmpeg: use AV_SAMPLE_FMT_* if available | Max Kellermann | 1 | -0/+8 | |
Implements support for libavcodec 0.9, which removes the compatibility macros SAMPLE_FMT_* |