aboutsummaryrefslogtreecommitdiffstats
path: root/src/input (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-28input/Soup: move code into the classMax Kellermann1-92/+109
2013-01-28input/soup: rename the classMax Kellermann1-15/+15
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 Kellermann9-52/+46
2013-01-26input_stream: forward-declare the structMax Kellermann8-1/+9
Hide the definition from C code, to prepare the transition to C++.
2013-01-25input_{internal,plugin}: convert to C++Max Kellermann9-17/+17
2013-01-24archive/*: convert to C++Max Kellermann2-9/+20
2013-01-21input/archive: fix memory leak in error handlerMax Kellermann1-1/+3
2013-01-21input,playlist/despotify: convert to C++Max Kellermann2-13/+21
2013-01-21input/cdio_paranoia: convert to C++Max Kellermann2-52/+63
2013-01-21input/ffmpeg: convert to C++Max Kellermann2-19/+29
2013-01-21input/rewind: convert to C++Max Kellermann2-75/+79
2013-01-21input/file,mms: convert to C++Max Kellermann4-67/+86
2013-01-21input_internal.h: add extern "C"Max Kellermann2-8/+0
2013-01-15input/Curl: break loop when remaining length becomes 0Max Kellermann1-0/+6
Fixes assertion failure (regression).
2013-01-15input/Curl: move code to class MultiSocketMonitorMax Kellermann1-116/+60
2013-01-15input/Curl: simpler GPollFD initialisationMax Kellermann1-5/+2
Using initializer list.
2013-01-15input/Curl: don't remove/add modified GPollFDMax Kellermann1-9/+2
Not necessary, GLib will pick up the updated GPollFD automatically.
2013-01-14Main, IOThread: move GMainLoop setup code to class EventLoopMax Kellermann2-2/+5
2013-01-10input/curl: use std::list instead of GQueueMax Kellermann1-93/+80
2013-01-10icy_metadata: convert to C++Max Kellermann1-13/+11
2013-01-10input/Curl: add constructor to input_curl classMax Kellermann1-32/+30
2013-01-10input/Curl: remove unused source/source_id attributesMax Kellermann1-7/+0
2013-01-10input/Curl: remove redundant attribute "url"Max Kellermann1-4/+2
Use the "url" attribute from the base class instead.
2013-01-10input/Curl: use std::forward_list instead of GSListMax Kellermann1-27/+21
2013-01-10input/Curl: remove unused attribute "fds"Max Kellermann1-3/+1
2013-01-10input/Curl: require libcurl 7.18Max Kellermann1-24/+4
2013-01-10io_thread: convert to C++Max Kellermann2-2/+2
2013-01-10input/{curl,soup}: convert to C++Max Kellermann4-65/+84
2012-10-04input/file: use errno_quark()Max Kellermann1-11/+6
2012-08-14input/ffmpeg: remove fallback AV_VERSION_INT definitionMax Kellermann1-4/+1
This is part of libavutil.
2012-04-04input/curl: use g_source_get_time()Max Kellermann1-12/+5
g_source_get_current_time() is deprecated since GLib 2.28. This patch adds a compatibility wrapper for older GLib versions to glib_compat.h.
2012-02-15input/cdio_paranoia: whitespace-fix a commentJonathan Neuschäfer1-2/+2
2012-01-29input/soup: use #pragma only with gcc 4.6+Max Kellermann1-2/+2
It seems gcc 4.5 does not allow #pragma within function: src/input/soup_input_plugin.c:284:9: error: #pragma GCC diagnostic not allowed inside functions
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-12-12input/soup: disable -Wcast-qual to work around libsoup header problemMax Kellermann1-0/+13
2011-10-10input/cdio_paranoia: pass byte order swapping to the PCM "decoder"Max Kellermann1-32/+11
Send another "magic" MIME type when the byte order must be reversed. This also fixes byte order issues when big-endian was involved (input data or host byte order) - that was completely broken.
2011-09-16input/soup: wait some more before resuming the streamMax Kellermann1-1/+6
2011-09-16input/soup: improve error messagesMax Kellermann1-12/+43
Copy the reason_phrase from the SoupMessage, and check for transport errors in the session callback.
2011-09-16input_stream: non-blocking I/OMax Kellermann9-166/+101
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-16input_plugin: add method check()Max Kellermann3-0/+45
To check for errors without reading. The decoder thread wants to do that, before it passes the input stream to the plugin.
2011-09-16input/{soup,curl}: free unused postponed_errorMax Kellermann2-0/+8
Fix memory leak.
2011-09-16input/soup: move libsoup calls to the I/O threadMax Kellermann1-4/+25
libsoup's asynchronous API is not thread safe. By moving the calls into the I/O thread, several crash bugs will be fixed.
2011-09-16input/soup: wait for _cancel_message() to completeMax Kellermann1-5/+21
Add the "complete" attribute, and set it in _session_callback(). _close() waits for it to become true.
2011-09-16input/soup: return real GErrors to the callerMax Kellermann1-3/+31
Add attribute postponed_error, pass this GError to the caller.
2011-09-16input/soup: set the "ready" flag on failureMax Kellermann1-0/+2
Fix deadlock.
2011-09-16input/soup: remove redundant flag "ready"Max Kellermann1-6/+2
We'll add proper locking now, and there's no need to carry this duplicate flag.