changeset 34357:dd20c9da3051

Support FFmpeg mmvideo decoder. Patch by Paul B Mahol, onemda gmail
author cehoyos
date Wed, 14 Dec 2011 14:32:47 +0000
parents 9ae4b7f8b1e2
children 127c798974a0
files etc/codecs.conf libmpdemux/mp_taglists.c
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/codecs.conf	Wed Dec 14 12:37:16 2011 +0000
+++ b/etc/codecs.conf	Wed Dec 14 14:32:47 2011 +0000
@@ -78,6 +78,14 @@
   dll mdec
   out YV12
 
+videocodec ffmmvideo
+  info "FFmpeg American Laser Games MM Video"
+  status working
+  fourcc "MMV " ; internal MPlayer FourCC
+  driver ffmpeg
+  dll mmvideo
+  out BGR8
+
 videocodec ffsiff
   info "FFmpeg Beam Software SIFF"
   status working
--- a/libmpdemux/mp_taglists.c	Wed Dec 14 12:37:16 2011 +0000
+++ b/libmpdemux/mp_taglists.c	Wed Dec 14 14:32:47 2011 +0000
@@ -129,6 +129,7 @@
     { CODEC_ID_JV,                MKTAG('F', 'F', 'J', 'V')},
     { CODEC_ID_MAD,               MKTAG('M', 'A', 'D', 'k')},
     { CODEC_ID_MDEC,              MKTAG('M', 'D', 'E', 'C')},
+    { CODEC_ID_MMVIDEO,           MKTAG('M', 'M', 'V', ' ')},
     { CODEC_ID_MOTIONPIXELS,      MKTAG('M', 'V', 'I', '1')},
     { CODEC_ID_MXPEG,             MKTAG('M', 'X', 'P', 'G')},
     { CODEC_ID_NUV,               MKTAG('N', 'U', 'V', '1')},