diff options
Diffstat (limited to '')
-rw-r--r-- | src/decoder/ffmpeg_decoder_plugin.c | 6 | ||||
-rw-r--r-- | src/decoder_thread.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/decoder/ffmpeg_decoder_plugin.c b/src/decoder/ffmpeg_decoder_plugin.c index 6ad10026a..b63094404 100644 --- a/src/decoder/ffmpeg_decoder_plugin.c +++ b/src/decoder/ffmpeg_decoder_plugin.c @@ -330,7 +330,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; } @@ -652,7 +652,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 }; @@ -716,6 +717,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", diff --git a/src/decoder_thread.c b/src/decoder_thread.c index 421efd32a..1440fc272 100644 --- a/src/decoder_thread.c +++ b/src/decoder_thread.c @@ -126,6 +126,8 @@ decoder_stream_decode(const struct decoder_plugin *plugin, assert(input_stream->ready); assert(decoder->dc->state == DECODE_STATE_START); + g_debug("probing plugin %s", plugin->name); + if (decoder->dc->command == DECODE_COMMAND_STOP) return true; @@ -157,6 +159,8 @@ decoder_file_decode(const struct decoder_plugin *plugin, assert(g_path_is_absolute(path)); assert(decoder->dc->state == DECODE_STATE_START); + g_debug("probing plugin %s", plugin->name); + if (decoder->dc->command == DECODE_COMMAND_STOP) return true; |