Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | decoder/ffmpeg: fix libavformat 0.6 by using av_open_input_stream() | Max Kellermann | 2010-07-19 | 1 | -89/+65 |
| | | | | | | | | | | | | libavformat 0.6 does not pass the original URI pointer to the "open" method, which leads to a crash because MPD was using a dirty hack to pass a pointer to that method. This patch switches to av_open_input_stream() with a custom ByteIOContext class, instead of doing the URI string hack with av_open_input_file(). Loosely based on a patch from Jasper St. Pierre. | ||||
* | decoder/ffmpeg: manual format probing | Max Kellermann | 2010-07-19 | 1 | -2/+47 |
| | | | | | | | | | Use the libavformat function av_probe_input_format() to probe the AVInputFormat, instead of letting av_open_input_file() do it implicitly. We will switch to av_open_input_stream() very soon, which does not have the probing code. Loosely based on a patch from Jasper St. Pierre. | ||||
* | ffmpeg: read the audio stream metadata in addition to global | Anton Khirnov | 2010-07-12 | 1 | -1/+5 |
| | | | | in some formats, e.g. vorbis, the metadata is stored per-stream. | ||||
* | ffmpeg: factor tag_type <-> ffmpeg tag name maps into a table. | Anton Khirnov | 2010-07-12 | 1 | -21/+32 |
| | |||||
* | input/ffmpeg: new input plugin using libavformat's "avio" library | Max Kellermann | 2010-05-18 | 1 | -0/+6 |
| | |||||
* | decoder/ffmpeg: fix crash on startup in mpd_ffmpeg_log_callback() | Charles Kerr | 2010-04-11 | 1 | -4/+9 |
| | | | | | | | | | What's happening is the `ptr' argument to that function is NULL for me every time. `ptr' is unconditionally dereferenced to generate a log message, and this is where mpd crashes. Attached is a simple patch that tests for NULL and omits the log. With this patch the crash disappeared and mpd went back to working well. | ||||
* | decoder/ffmpeg: print item name in log callback | Max Kellermann | 2010-03-28 | 1 | -1/+5 |
| | |||||
* | decoder/ffmpeg: fix indentation | Max Kellermann | 2010-03-07 | 1 | -6/+6 |
| | |||||
* | decoder/ffmpeg: implement the libavutil log callback | Max Kellermann | 2010-02-27 | 1 | -0/+31 |
| | | | | Pass everything to the GLib logging library. No direct stderr access. | ||||
* | decoder/ffmpeg: don't close the AVFormatContext after open failure | Max Kellermann | 2010-02-27 | 1 | -1/+0 |
| | | | | The pointer is invalid if av_open_input_file() fails. | ||||
* | ffmpeg: read more metadata. | Anton Khirnov | 2010-02-02 | 1 | -1/+12 |
| | |||||
* | decoder/ffmpeg: call decoder_timestamp() once per packet | Max Kellermann | 2010-01-18 | 1 | -5/+5 |
| | |||||
* | decoder/ffmpeg: merged ffmpeg_helper() into ffmpeg_decode() | Max Kellermann | 2010-01-18 | 1 | -116/+67 |
| | |||||
* | decoder/ffmpeg: optimized the stream_tag() method | Max Kellermann | 2010-01-18 | 1 | -25/+27 |
| | | | | Don't use the function ffmpeg_helper(), don't initialize the codec. | ||||
* | decoder/ffmpeg: free AVFormatContext on error | Max Kellermann | 2010-01-18 | 1 | -0/+4 |
| | | | | Fix a memory leak in some code paths. | ||||
* | decoder_api: removed function decoder_get_uri() | Max Kellermann | 2010-01-18 | 1 | -6/+5 |
| | | | | Use input_stream.uri. | ||||
* | Merge release 0.15.8 from branch 'v0.15.x | Max Kellermann | 2010-01-18 | 1 | -4/+34 |
| | | | | | | | | | Conflicts: Makefile.am NEWS configure.ac src/decoder/ffmpeg_decoder_plugin.c src/decoder_thread.c | ||||
* | renamed decoder plugin sources | Max Kellermann | 2010-01-04 | 1 | -0/+552 |
Make it X_decoder_plugin.c. |