changeset 23274:f3e72ce8a9fd

add txd codec, works with http://samples.mplayerhq.hu/game-formats/txd/fronten2.txd .
author compn
date Thu, 10 May 2007 15:47:06 +0000
parents aad17dc971b7
children 17fcd644f32e
files etc/codecs.conf libmpdemux/demux_lavf.c
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/codecs.conf	Thu May 10 14:16:58 2007 +0000
+++ b/etc/codecs.conf	Thu May 10 15:47:06 2007 +0000
@@ -2012,6 +2012,14 @@
   dll bethsoftvid
   out BGR8
 
+videocodec fftxd
+  info "FFmpeg Renderware TeXture Dictionary decoder"
+  status working
+  fourcc TXDV ; internal MPlayer FourCC
+  driver ffmpeg
+  dll txd
+  out BGR32
+
 videocodec ffwc3
   info "FFmpeg XAN wc3"
   status buggy
--- a/libmpdemux/demux_lavf.c	Thu May 10 14:16:58 2007 +0000
+++ b/libmpdemux/demux_lavf.c	Thu May 10 15:47:06 2007 +0000
@@ -103,6 +103,7 @@
     { CODEC_ID_ROQ,               MKTAG('R', 'o', 'Q', 'V')},
     { CODEC_ID_THP,               MKTAG('T', 'H', 'P', 'V')},
     { CODEC_ID_TIERTEXSEQVIDEO,   MKTAG('T', 'S', 'E', 'Q')},
+    { CODEC_ID_TXD,               MKTAG('T', 'X', 'D', 'V')},
     { CODEC_ID_VMDVIDEO,          MKTAG('V', 'M', 'D', 'V')},
     { CODEC_ID_WS_VQA,            MKTAG('V', 'Q', 'A', 'V')},
     { CODEC_ID_XAN_WC3,           MKTAG('W', 'C', '3', 'V')},