Commit d662c4c0 authored by Max Kellermann's avatar Max Kellermann

Merge branch 'v0.16.x'

Conflicts: NEWS
parents 457d98c8 6bb166aa
...@@ -40,6 +40,11 @@ ver 0.17 (2011/??/??) ...@@ -40,6 +40,11 @@ ver 0.17 (2011/??/??)
* systemd socket activation * systemd socket activation
ver 0.16.9 (2012/??/??)
* decoder:
- ffmpeg: support WebM
ver 0.16.8 (2012/04/04) ver 0.16.8 (2012/04/04)
* fix for libsamplerate assertion failure * fix for libsamplerate assertion failure
* decoder: * decoder:
......
...@@ -330,7 +330,7 @@ ffmpeg_send_packet(struct decoder *decoder, struct input_stream *is, ...@@ -330,7 +330,7 @@ ffmpeg_send_packet(struct decoder *decoder, struct input_stream *is,
if (len < 0) { if (len < 0) {
/* if error, we skip the frame */ /* if error, we skip the frame */
g_message("decoding failed\n"); g_message("decoding failed, frame skipped\n");
break; break;
} }
...@@ -652,7 +652,8 @@ static const char *const ffmpeg_suffixes[] = { ...@@ -652,7 +652,8 @@ static const char *const ffmpeg_suffixes[] = {
"ram", "rl2", "rm", "rmvb", "roq", "rpl", "rvc", "shn", "smk", "snd", "ram", "rl2", "rm", "rmvb", "roq", "rpl", "rvc", "shn", "smk", "snd",
"sol", "son", "spx", "str", "swf", "tgi", "tgq", "tgv", "thp", "ts", "sol", "son", "spx", "str", "swf", "tgi", "tgq", "tgv", "thp", "ts",
"tsp", "tta", "xa", "xvid", "uv", "uv2", "vb", "vid", "vob", "voc", "tsp", "tta", "xa", "xvid", "uv", "uv2", "vb", "vid", "vob", "voc",
"vp6", "vmd", "wav", "wma", "wmv", "wsaud", "wsvga", "wv", "wve", "vp6", "vmd", "wav", "webm", "wma", "wmv", "wsaud", "wsvga", "wv",
"wve",
NULL NULL
}; };
...@@ -716,6 +717,7 @@ static const char *const ffmpeg_mime_types[] = { ...@@ -716,6 +717,7 @@ static const char *const ffmpeg_mime_types[] = {
"video/msvideo", "video/msvideo",
"video/ogg", "video/ogg",
"video/theora", "video/theora",
"video/webm",
"video/x-dv", "video/x-dv",
"video/x-flv", "video/x-flv",
"video/x-matroska", "video/x-matroska",
......
...@@ -126,6 +126,8 @@ decoder_stream_decode(const struct decoder_plugin *plugin, ...@@ -126,6 +126,8 @@ decoder_stream_decode(const struct decoder_plugin *plugin,
assert(input_stream->ready); assert(input_stream->ready);
assert(decoder->dc->state == DECODE_STATE_START); assert(decoder->dc->state == DECODE_STATE_START);
g_debug("probing plugin %s", plugin->name);
if (decoder->dc->command == DECODE_COMMAND_STOP) if (decoder->dc->command == DECODE_COMMAND_STOP)
return true; return true;
...@@ -157,6 +159,8 @@ decoder_file_decode(const struct decoder_plugin *plugin, ...@@ -157,6 +159,8 @@ decoder_file_decode(const struct decoder_plugin *plugin,
assert(g_path_is_absolute(path)); assert(g_path_is_absolute(path));
assert(decoder->dc->state == DECODE_STATE_START); assert(decoder->dc->state == DECODE_STATE_START);
g_debug("probing plugin %s", plugin->name);
if (decoder->dc->command == DECODE_COMMAND_STOP) if (decoder->dc->command == DECODE_COMMAND_STOP)
return true; return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment