Max Kellermann
|
e6fad97edc
|
decoder/opus: support bigger OpusTags packets
Required for OpusTags packets which contain artwork.
See https://bugs.musicpd.org/view.php?id=4520
|
2016-04-19 13:05:42 +02:00 |
|
Max Kellermann
|
cd041f8574
|
decoder/Plugin: container_scan() returns AllocatedString
|
2016-04-13 12:23:10 +02:00 |
|
Max Kellermann
|
33fdaa5b6d
|
Merge branch 'v0.19.x'
|
2016-04-13 10:03:40 +02:00 |
|
Max Kellermann
|
70495aada1
|
decoder/ffmpeg: don't copy the AVPacket in ffmpeg_send_packet()
Reduce some overhead. It is not necessary to copy the object.
|
2016-04-13 09:04:51 +02:00 |
|
Max Kellermann
|
f243f615ef
|
decoder/ffmpeg: convert pointers to references
|
2016-04-13 09:01:54 +02:00 |
|
Max Kellermann
|
6a1f5667f9
|
util/FormatString: return AllocatedString
|
2016-04-12 22:59:23 +02:00 |
|
Max Kellermann
|
807c72b2f1
|
decoder/ffmpeg: use av_packet_unref() instead of av_free_packet()
av_free_packet() was deprecated in FFmpeg 3.0.
|
2016-04-12 21:15:05 +02:00 |
|
Max Kellermann
|
74dbaade6f
|
decoder/Thread: use "ffmpeg" as fallback instead of "mad"
Adds support for stream codecs which havn't been explicitly listed in
ffmpeg_mime_types.
|
2016-03-30 00:58:48 +02:00 |
|
Max Kellermann
|
6ff01cc72c
|
Merge branch 'v0.19.x'
|
2016-03-07 14:30:43 +01:00 |
|
Max Kellermann
|
b24cbc68ba
|
decoder/dsdiff: fix off-by-one buffer overflow
|
2016-03-06 23:28:29 +01:00 |
|
Max Kellermann
|
976fdd76c1
|
decoder/opus: limit tag size to 64 kB
|
2016-03-06 23:26:48 +01:00 |
|
Max Kellermann
|
1aee89f5ea
|
*: include cleanup (using iwyu)
|
2016-03-01 22:08:13 +01:00 |
|
Max Kellermann
|
1d67aa7bf2
|
update copyright year to 2016
|
2016-02-26 17:54:05 +01:00 |
|
Max Kellermann
|
bf65a9732c
|
decoder/thread: clear Decoder::error before attempting another plugin
Keep only the last error. This fixes bogus aborts due to the error
check in decoder_get_virtual_command().
|
2016-02-26 17:30:24 +01:00 |
|
Max Kellermann
|
1388b3219a
|
decoder/thread: fix typo in comment
|
2016-02-26 16:48:27 +01:00 |
|
Max Kellermann
|
a1e680fec7
|
decoder/thread: open InputStream in decoder_run_file() in any case
decoder_load_replay_gain() will create the InputStream anyway, so
we're not saving any overhead by opening the InputStream on demand
only.
|
2016-02-23 11:14:12 +01:00 |
|
Max Kellermann
|
1b58bd64ff
|
decoder/thread: use typedef InputStreamPtr
|
2016-02-23 11:14:11 +01:00 |
|
Max Kellermann
|
196de8c758
|
decoder/thread: load APE replay gain from remote files
|
2016-02-23 10:57:03 +01:00 |
|
Max Kellermann
|
73307bf2e7
|
tag/TagHandler: pass by reference
|
2016-02-23 10:10:13 +01:00 |
|
Max Kellermann
|
a5f8fd774d
|
tag/handler: use CamelCase
|
2016-02-22 17:38:06 +01:00 |
|
Max Kellermann
|
cadc67ea40
|
input: wrap InputStream in std::unique_ptr
|
2016-02-21 08:03:32 +01:00 |
|
Chris Spiegel
|
1e0ad1f6bf
|
Add TAK as a supported FFmpeg format.
|
2016-02-19 17:32:48 +01:00 |
|
Chris Spiegel
|
e7b211f2c0
|
Add TAK as a supported FFmpeg format.
|
2016-02-12 18:49:10 -08:00 |
|
Max Kellermann
|
2939fadd6a
|
decoder/Control: use ScopeLock
|
2015-12-31 13:45:10 +01:00 |
|
Max Kellermann
|
ef260377c3
|
decoder/Internal: use ScopeLock
|
2015-12-31 13:44:19 +01:00 |
|
Max Kellermann
|
b9213df64b
|
decoder/API: use ScopeLock
|
2015-12-31 13:43:35 +01:00 |
|
Max Kellermann
|
aa7694047b
|
decoder/Thread: pass InputStream errors to DecoderControl::error
Give MPD clients access to the error condition.
|
2015-12-31 13:39:13 +01:00 |
|
Max Kellermann
|
e2bc63217a
|
decoder/Thread: decoder_input_stream_open() returns std::unique_ptr<InputStream>
Fixes memory leak after InputStream::Check() failure.
|
2015-12-31 13:39:13 +01:00 |
|
Max Kellermann
|
6c5b8bcf9d
|
decoder/Thread: log all errors
|
2015-12-31 13:38:35 +01:00 |
|
Max Kellermann
|
e425fe3f97
|
decoder/Thread: use std::unique_ptr<InputStream>
|
2015-12-31 13:12:28 +01:00 |
|
Max Kellermann
|
6507993972
|
decoder/Thread: move decoder_command_finished_locked() to DecoderControl
|
2015-12-31 13:06:31 +01:00 |
|
Max Kellermann
|
f081696f62
|
decoder/Thread: convert "int ret" to "bool success"
|
2015-12-31 13:02:55 +01:00 |
|
Max Kellermann
|
09157c3130
|
decoder/Thread: use ScopeLock in decoder_run_stream()
|
2015-12-31 13:01:49 +01:00 |
|
Max Kellermann
|
00626b1633
|
decoder/Thread: use std::unique_ptr<InputStream>
|
2015-12-31 13:01:03 +01:00 |
|
Max Kellermann
|
7e0cdbe502
|
decoder/Thread: use ScopeUnlock for exception-safety
|
2015-12-31 12:59:06 +01:00 |
|
Max Kellermann
|
ca08902d71
|
decoder/Thread: use ScopeLock in TryDecoderFile()
|
2015-12-31 12:58:58 +01:00 |
|
Max Kellermann
|
fad0e834d5
|
decoder/Thread: always unlock mutex before returning from TryDecoderFile()
Remove that surprising rule.
|
2015-12-31 12:57:35 +01:00 |
|
Max Kellermann
|
dc76eb6139
|
decoder/Thread: mutex not locked for decoder_run_{file,stream}()
|
2015-12-31 12:42:02 +01:00 |
|
Max Kellermann
|
55e113c7a7
|
decoder/Thread: document locking rules
|
2015-12-31 12:36:32 +01:00 |
|
Max Kellermann
|
b62f5e079e
|
decoder/Thread: use ScopeLock for exception-safety
|
2015-12-31 12:36:00 +01:00 |
|
Max Kellermann
|
faca8bc02a
|
decoder/Control: Seek() returns Error information
|
2015-11-11 19:56:08 +01:00 |
|
Max Kellermann
|
76a9049739
|
decoder/Control: State::ERROR is illegal
The state ERROR can only be entered during decoder initialization, and
Seek() may only be called after initialization has been finished.
|
2015-11-11 17:46:06 +01:00 |
|
Max Kellermann
|
27bfcda20d
|
decoder/Control: use switch/case in Seek()
|
2015-11-11 17:46:03 +01:00 |
|
Max Kellermann
|
733989a284
|
util/StringUtil: move comparison functions to StringCompare.cxx
|
2015-11-06 09:20:18 +01:00 |
|
Max Kellermann
|
94f850a588
|
Merge tag 'v0.19.11'
|
2015-10-27 11:05:47 +01:00 |
|
Max Kellermann
|
5719207dfa
|
gme: don't loop forever, fall back to GME's default play length
Fixes http://bugs.musicpd.org/view.php?id=4432
|
2015-10-26 17:16:20 +01:00 |
|
Max Kellermann
|
a84fbbe327
|
decoder/gme: free the gme_info_t as early as possible
|
2015-10-26 17:15:24 +01:00 |
|
Max Kellermann
|
3882c11450
|
decoder/gme: log the emulator type
|
2015-10-26 17:00:27 +01:00 |
|
Max Kellermann
|
08f77c2b60
|
decoder/gme: add option "accuracy"
|
2015-10-26 16:56:55 +01:00 |
|
Max Kellermann
|
93c97972b9
|
decoder/gme: call decoder_seek_error() on seek error
|
2015-10-26 16:32:39 +01:00 |
|