aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/plugins/FfmpegInputPlugin.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-08-18input/ffmpeg: use av_strerror()Max Kellermann1-4/+4
Generate more detailed error messages.
2014-08-18{input,decoder}/ffmpeg: move ffmpeg_domain to lib/ffmpeg/Domain.cxxMax Kellermann1-3/+1
Eliminate duplicate definition (in input plugin and decoder plugin).
2014-08-18input/ffmpeg: update offset after seekingMax Kellermann1-0/+1
2014-08-18input/ffmpeg: refactor error code pathMax Kellermann1-4/+4
2014-08-18input/ffmpeg: use "auto"Max Kellermann1-10/+10
2014-05-22InputStream: make Seek() always absoluteMax Kellermann1-3/+3
Remove the "whence" parameter that is not actually necessary, and only complicates the InputStream implementations.
2014-05-11InputStream: remove attribute "plugin"Max Kellermann1-1/+1
2014-05-11InputStream: make various methods abstractMax Kellermann1-27/+17
Replace InputPlugin attributes.
2014-05-11InputStream: add virtual destructorMax Kellermann1-9/+0
Replaces the method Close().
2014-05-11input/plugins: make InputStream the base classMax Kellermann1-11/+8
Prepare for adding virtual methods.
2014-05-11InputStream: convert to classMax Kellermann1-1/+1
2014-03-02InputPlugin: allow init() to soft-failMax Kellermann1-3/+3
Add enum InputResult which is a tri-state. Input plugins may now fail and just become unavailable.
2014-01-24Input*: move to input/Max Kellermann1-2/+2
2014-01-13copyright year 2014Max Kellermann1-1/+1
2013-11-28Util/StringUtil: add StringStartsWith()Max Kellermann1-8/+7
Replaces GLib's g_str_has_prefix().
2013-11-28include cleanup using iwyuMax Kellermann1-1/+0
2013-10-23input_stream: rename struct to InputStreamMax Kellermann1-6/+6
2013-10-23InputInternal: remove obsolete libraryMax Kellermann1-1/+0
2013-10-17InputStream: use int64_t instead of goffsetMax Kellermann1-1/+4
Decouple some more from GLib.
2013-10-17input_plugin: rename struct to "InputPlugin"Max Kellermann1-1/+1
2013-10-15input/*: don't allocate attribute "mime"Max Kellermann1-1/+1
This was a memory leak, because "mime" was a std::string which created another copy and discarded the allocated buffer.
2013-10-02Log: new logging library APIMax Kellermann1-3/+0
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-04util/Error: new error passing libraryMax Kellermann1-16/+12
Replaces GLib's GError.
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann1-2/+2
2013-08-04InputPlugin: pass config_param referenceMax Kellermann1-1/+1
2013-01-28InputStream: add constructor/destructorMax Kellermann1-5/+2
Eliminate input_stream_init() and input_stream_deinit().
2013-01-28input/ffmpeg: add constructor/destructorMax Kellermann1-23/+26
2013-01-28input/ffmpeg: rename the classMax Kellermann1-7/+7
2013-01-28decoder/ffmpeg: require ffmpeg/libav 0.7.6Max Kellermann1-31/+0
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-27DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCondMax Kellermann1-1/+1
2013-01-26input_stream: forward-declare the structMax Kellermann1-0/+1
Hide the definition from C code, to prepare the transition to C++.
2013-01-25input_{internal,plugin}: convert to C++Max Kellermann1-2/+2
2013-01-21input/ffmpeg: convert to C++Max Kellermann1-16/+26
2012-08-14input/ffmpeg: remove fallback AV_VERSION_INT definitionMax Kellermann1-4/+1
This is part of libavutil.
2012-01-04input/ffmpeg: use the new AVIOContext APIMax Kellermann1-1/+37
URLContext is deprecated.
2012-01-04input/ffmpeg: define AV_VERSION_INT if not presentMax Kellermann1-0/+4
Support ancient ffmpeg versions.
2011-09-16input_stream: non-blocking I/OMax Kellermann1-2/+5
Add GMutex, GCond attributes which will be used by callers to conditionally wait on the stream. Remove the (now-useless) plugin method buffer(), wait on GCond instead. Lock the input_stream before each method call. Do the same with the playlist plugins.
2011-09-14input_stream: move input_stream_init(), _deinit() to _internal.cMax Kellermann1-0/+1
2011-07-03decoder/ffmpeg: use AVIO_FLAG_READ on newer ffmpeg versionsSkottish1-1/+3
FFmpeg/libav have dropped AVIO_RDONLY in favor of AVIO_FLAG_READ. This patch fixes that in MPD.
2011-05-09input/ffmpeg: use the new AVIOContext APIMax Kellermann1-1/+37
URLContext is deprecated.
2011-04-12decoder/ffmpeg: drop support for pre-0.5 ffmpegAnton Khirnov1-7/+0
All modern distros ship 0.5, so there's no need to support old and buggy ffmpeg versions.
2011-01-29copyright year 2011Max Kellermann1-1/+1
2010-05-18input/ffmpeg: new input plugin using libavformat's "avio" libraryMax Kellermann1-0/+168