aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/FfmpegDecoderPlugin.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* decoder/ffmpeg: detect and fix negative time stampsMax Kellermann2014-12-151-4/+7
| | | | | Works around assertion failure due to something that appears to be a (minor) FFmpeg bug.
* decoder/ffmpeg: support FFmpeg 2.5Max Kellermann2014-12-081-0/+5
| | | | | | Version 2.5 fixed an API oddity, however it broke API compatibility, at least with C++. Disable the workaround when a libavformat version is detected that is recent enough.
* decoder/ffmpeg: support opusMax Kellermann2014-11-101-1/+2
|
* decoder/ffmpeg: recognize MIME type audio/aacpSteven OBrien2014-11-021-0/+1
|
* decoder/ffmpeg: use memset() to initialize AVProbeDataMax Kellermann2014-09-091-0/+6
|
* decoder/ffmpeg: pass MIME type to ffmpeg/libav version 11Max Kellermann2014-09-071-0/+7
| | | | | | | That attribute was uninitialized before, which could crash libavformat. See Debian bug 760669
* decoder/ffmpeg: use avcodec_descriptor_get() to determine codec nameMax Kellermann2014-08-131-0/+9
| | | | | | In version 11, both ffmpeg and libav deprecate AVCodecContext::codec_name. The function avcodec_descriptor_get() has been introduced long ago.
* decoder/ffmpeg: handle unknown stream start timeMax Kellermann2014-03-181-2/+25
|
* decoder/ffmpeg: pass AVSEEK_FLAG_ANY to av_seek_frame()Max Kellermann2014-03-181-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.
* decoder/ffmpeg: support libav v10_alpha1Max Kellermann2014-01-151-1/+11
|
* decoder/ffmpeg: include cleanupMax Kellermann2014-01-151-1/+0
|
* decoder/ffmpeg: check for av_samples_get_buffer_size() errorsMax Kellermann2014-01-151-0/+3
| | | | Fixes potential nullptr dereference.
* fix FfmpegDecoderPlugin to use relative timestampsSteven O'Brien2013-12-201-4/+6
|
* decoder/ffmpeg: use IgnoreError instead of local Error instanceMax Kellermann2013-11-281-5/+2
|
* Log: add level "DEFAULT"Max Kellermann2013-11-041-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".
* input_stream: rename struct to InputStreamMax Kellermann2013-10-231-15/+15
|
* InputStream: add method Rewind()Max Kellermann2013-10-231-10/+4
|
* decoder: rename the struct to "Decoder"Max Kellermann2013-10-211-7/+7
|
* decoder_plugin: rename struct to DecoderPluginMax Kellermann2013-10-211-1/+1
|
* *: use nullptr instead of NULLMax Kellermann2013-10-191-17/+17
|
* decoder/gme,input/curl,...: use static buffers instead of g_strdup_printf()Max Kellermann2013-10-191-13/+7
|
* Log: new logging library APIMax Kellermann2013-10-021-27/+33
| | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
* DecoderCommand: convert to strictly-typed enumMax Kellermann2013-09-271-7/+6
|
* Tag, ...: move to libtag.aMax Kellermann2013-09-051-1/+1
|
* InputLegacy: move functions to the input_stream classMax Kellermann2013-09-051-3/+2
|
* util/Error: new error passing libraryMax Kellermann2013-09-041-6/+9
| | | | Replaces GLib's GError.
* FfmpegDecoderPlugin: Allocate the interleaved buffer as needed instead of ↵Alexis Ballier2013-08-071-17/+29
| | | | | | | | using an arbitrary big constant. Also, save a memcpy when FFmpeg outputs interleaved audio. Fixes build with FFmpeg 2.0.
* decoder/ffmpeg: convert struct mpd_ffmpeg_stream to a classMax Kellermann2013-08-051-47/+28
|
* *: use gcc.h macros instead of GLibMax Kellermann2013-08-041-4/+4
|
* Merge tag 'release-0.17.5'Max Kellermann2013-08-041-0/+1
|
* DecoderPlugin: pass config_param referenceMax Kellermann2013-08-041-1/+1
|
* audio_format: convert to C++Max Kellermann2013-08-031-10/+15
|
* decoder/ffmpeg: require ffmpeg/libav 0.8Max Kellermann2013-07-311-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.
* audio_check: convert to C++Max Kellermann2013-07-291-4/+1
|
* tag_handler: convert to C++Max Kellermann2013-07-291-1/+1
|
* decoder_api: convert to C++Max Kellermann2013-07-281-1/+1
|
* decoder/ffmpeg: suppress warning about unused variableMax Kellermann2013-04-081-0/+2
| | | | Only relevant for old ffmpeg versions.
* ffmpeg decoder plugin: do not allocate an AVFrame on stack.Anton Khirnov2013-04-051-5/+24
| | | | AVFrame must be allocated with avcodec_alloc_frame().
* InputStream: use std::stringMax Kellermann2013-01-281-3/+4
|
* decoder/ffmpeg: require ffmpeg/libav 0.7.6Max Kellermann2013-01-281-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.
* input_stream: forward-declare the structMax Kellermann2013-01-261-0/+1
| | | | Hide the definition from C code, to prepare the transition to C++.
* decoder/ffmpeg: convert to C++Max Kellermann2013-01-261-0/+812