Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-05-21 | input/rewind: move code to class ProxyInputStream | Max Kellermann | 1 | -59/+14 | |
2014-05-21 | input/rewind: include cleanup | Max Kellermann | 1 | -4/+2 | |
2014-05-21 | input/rewind: work around assertion failure | Max Kellermann | 1 | -1/+1 | |
Caused by commit 0b4fa41a | |||||
2014-05-12 | InputStream: "protect" attributes | Max Kellermann | 1 | -7/+7 | |
2014-05-11 | InputStream: remove attribute "plugin" | Max Kellermann | 1 | -8/+1 | |
2014-05-11 | InputStream: make various methods abstract | Max Kellermann | 1 | -86/+19 | |
Replace InputPlugin attributes. | |||||
2014-05-11 | InputStream: add virtual destructor | Max Kellermann | 1 | -10/+1 | |
Replaces the method Close(). | |||||
2014-05-11 | input/plugins: make InputStream the base class | Max Kellermann | 1 | -37/+29 | |
Prepare for adding virtual methods. | |||||
2014-05-11 | input/rewind: convert to class | Max Kellermann | 1 | -46/+89 | |
2014-05-11 | InputStream: convert to class | Max Kellermann | 1 | -10/+11 | |
2014-01-24 | Input*: move to input/ | Max Kellermann | 1 | -2/+2 | |
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2013-11-28 | include cleanup using iwyu | Max Kellermann | 1 | -1/+0 | |
2013-10-28 | *: use nullptr instead of NULL | Max Kellermann | 1 | -1/+1 | |
2013-10-23 | input_stream: rename struct to InputStream | Max Kellermann | 1 | -15/+15 | |
2013-10-23 | InputInternal: remove obsolete library | Max Kellermann | 1 | -1/+0 | |
2013-10-17 | InputStream: use int64_t instead of goffset | Max Kellermann | 1 | -3/+5 | |
Decouple some more from GLib. | |||||
2013-10-17 | input_plugin: rename struct to "InputPlugin" | Max Kellermann | 1 | -2/+2 | |
2013-10-02 | Log: new logging library API | Max Kellermann | 1 | -3/+0 | |
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | |||||
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 | -8/+7 | |
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -8/+6 | |
Replaces GLib's GError. | |||||
2013-07-30 | tag: convert to C++ | Max Kellermann | 1 | -2/+3 | |
2013-01-30 | input/Rewind: remove bogus assertion | Max Kellermann | 1 | -1/+0 | |
2013-01-28 | InputStream: use std::string | Max Kellermann | 1 | -6/+4 | |
2013-01-28 | InputStream: store references instead of pointers | Max Kellermann | 1 | -1/+1 | |
2013-01-28 | InputStream: add constructor/destructor | Max Kellermann | 1 | -5/+3 | |
Eliminate input_stream_init() and input_stream_deinit(). | |||||
2013-01-27 | DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCond | Max Kellermann | 1 | -1/+1 | |
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-25 | input_{internal,plugin}: convert to C++ | Max Kellermann | 1 | -2/+2 | |
2013-01-21 | input/rewind: convert to C++ | Max Kellermann | 1 | -72/+76 | |
2011-09-16 | input_stream: non-blocking I/O | Max Kellermann | 1 | -9/+6 | |
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-16 | input_plugin: add method check() | Max Kellermann | 1 | -0/+9 | |
To check for errors without reading. The decoder thread wants to do that, before it passes the input stream to the plugin. | |||||
2011-09-15 | input/rewind: copy the MIME type only once | Max Kellermann | 1 | -1/+3 | |
Reduce heap usage by reducing the number of malloc() / free() calls. | |||||
2011-09-14 | input_plugin: add method update() | Max Kellermann | 1 | -0/+10 | |
Update the struct attributes, important for facades like the "rewind" plugin. To replace buffer(). | |||||
2011-09-14 | input_stream: move input_stream_init(), _deinit() to _internal.c | Max Kellermann | 1 | -0/+1 | |
2011-08-24 | input/curl: remove obsolete function input_curl_reinit() | Max Kellermann | 1 | -1/+0 | |
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2010-11-08 | input/rewind: fix assertion failure | Max Kellermann | 1 | -1/+1 | |
The assertion added in MPD 0.15.14 was too much, it failed when the MIME type of a stream was NULL. | |||||
2010-11-05 | input/rewind: remove redundant NULL check before g_free() call | Max Kellermann | 1 | -2/+1 | |
2010-11-05 | input/rewind: add two assertions | Max Kellermann | 1 | -0/+3 | |
2010-11-05 | input/rewind: fix double free bug | Max Kellermann | 1 | -0/+1 | |
Duplicate the "mime" attribute of the inner input_stream object, instead of copying the pointer. | |||||
2010-09-28 | input/rewind: enable for MMS | Thomas Jansen | 1 | -2/+10 | |
2010-09-23 | rewind_input_plugin: Update MIME not only once | Thomas Jansen | 1 | -3/+4 | |
The assumption that MIME type is set only once is not valid with CURL, as URL redirections may update the MIME type. This fixes bug #3044. | |||||
2010-01-18 | input_stream: added attribute "uri" | Max Kellermann | 1 | -1/+1 | |
2010-01-18 | input_stream: added function input_stream_deinit() | Max Kellermann | 1 | -0/+1 | |
All close() implementations must call this method. | |||||
2010-01-04 | input/rewind: enable the "rewind" wrapper for all non-seekable streams | Max Kellermann | 1 | -3/+2 | |
Don't limit the "rewind" input plugin to CURL streams. | |||||
2010-01-01 | input_stream: return allocated input_stream objects | Max Kellermann | 1 | -41/+36 | |
Major API redesign: don't let the caller allocate the input_stream object. Let each input plugin allocate its own (derived/extended) input_stream pointer. The "data" attribute can now be removed, and all input plugins simply cast the input_stream pointer to their own structure (with an "struct input_stream base" as the first attribute). | |||||
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-12-29 | input/rewind: new input_stream wrapper to allow stream rewinding | Max Kellermann | 1 | -0/+238 | |
This replaces the rewinding buffer code from the CURL input plugin. It is more generic, and allows rewinding even when the server sends Icy-Metadata (which would have been too difficult to implement within the CURL plugin). This is a rather complex patch for the stable branch (v0.15.x), but it fixes a serious problem: the "vorbis" decoder plugin was unable to play streams with Icy-Metadata, because it couldn't rewind the stream after detecting the codec (Vorbis vs. FLAC). |