commit 1d814328541e099b3bec843b89c650ebdce6cf38
parent 5ea8b2437aaefa9b7cfd30a27ef0591ce9ce97cd
Author: Heikki Lindholm <holin@iki.fi>
Date: Fri, 20 Jun 2008 20:34:02 +0000
ffmpeg: enable bmp decoder
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
@@ -549,6 +549,7 @@ then
--disable-encoders \
--disable-decoders \
--enable-encoder=png \
+ --enable-decoder=bmp \
--enable-decoder=png
then
AC_MSG_ERROR([FFmpeg configure failed.])
diff --git a/src/plugins/thumbnailffmpeg/thumbnailextractorffmpeg.c b/src/plugins/thumbnailffmpeg/thumbnailextractorffmpeg.c
@@ -135,6 +135,7 @@ struct MimeToDecoderMapping
/* map mime image types to a decoder */
static const struct MimeToDecoderMapping m2d_map[] = {
+ {"image/x-bmp", CODEC_ID_BMP},
{"image/jpeg", CODEC_ID_MJPEG},
{"image/png", CODEC_ID_PNG},
{NULL, CODEC_ID_NONE}