| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Conflicts:
NEWS
configure.ac
src/decoder_control.c
src/decoder_control.h
src/input/rewind_input_plugin.c
src/output_control.c
src/output_thread.c
src/player_thread.c
|
|
|
|
|
| |
.. instead of av_get_bits_per_sample_format(). The SampleFormat enum
value is authoritative.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
in some formats, e.g. vorbis, the metadata is stored per-stream.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
Pass everything to the GLib logging library. No direct stderr access.
|
|
|
|
| |
The pointer is invalid if av_open_input_file() fails.
|
| |
|
| |
|
| |
|
|
|
|
| |
Don't use the function ffmpeg_helper(), don't initialize the codec.
|
|
|
|
| |
Fix a memory leak in some code paths.
|
|
|
|
| |
Use input_stream.uri.
|
|
|
|
|
|
|
|
|
| |
Conflicts:
Makefile.am
NEWS
configure.ac
src/decoder/ffmpeg_decoder_plugin.c
src/decoder_thread.c
|
|
Make it X_decoder_plugin.c.
|