From 8b6b25220d331dccf589e35be04f591467d8d249 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Date: Tue, 22 May 2012 23:36:47 +0200 Subject: decoder/ffmpeg: add webm as a supported format --- src/decoder/ffmpeg_decoder_plugin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/decoder') diff --git a/src/decoder/ffmpeg_decoder_plugin.c b/src/decoder/ffmpeg_decoder_plugin.c index 2929d316a..3bb3a07b6 100644 --- a/src/decoder/ffmpeg_decoder_plugin.c +++ b/src/decoder/ffmpeg_decoder_plugin.c @@ -745,7 +745,8 @@ static const char *const ffmpeg_suffixes[] = { "ram", "rl2", "rm", "rmvb", "roq", "rpl", "rvc", "shn", "smk", "snd", "sol", "son", "spx", "str", "swf", "tgi", "tgq", "tgv", "thp", "ts", "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 }; @@ -809,6 +810,7 @@ static const char *const ffmpeg_mime_types[] = { "video/msvideo", "video/ogg", "video/theora", + "video/webm", "video/x-dv", "video/x-flv", "video/x-matroska", -- cgit v1.2.3 From cca9bc51761b0d2a9dc0f2a6cc6bf24139862372 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Date: Tue, 22 May 2012 23:40:43 +0200 Subject: decoder/ffmpeg: improve "decoding failed" message "Frame skipped" might cause the impression that the decoding of a whole song failed. --- src/decoder/ffmpeg_decoder_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/decoder') diff --git a/src/decoder/ffmpeg_decoder_plugin.c b/src/decoder/ffmpeg_decoder_plugin.c index 3bb3a07b6..d1e1470ac 100644 --- a/src/decoder/ffmpeg_decoder_plugin.c +++ b/src/decoder/ffmpeg_decoder_plugin.c @@ -344,7 +344,7 @@ ffmpeg_send_packet(struct decoder *decoder, struct input_stream *is, if (len < 0) { /* if error, we skip the frame */ - g_message("decoding failed\n"); + g_message("decoding failed, frame skipped\n"); break; } -- cgit v1.2.3