changeset 22876:e577ef2bd29e

Add support for the THP game format.
author diego
date Sun, 01 Apr 2007 15:59:44 +0000
parents 15ca243429f9
children 9676cce0987a
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	Sun Apr 01 14:42:13 2007 +0000
+++ b/etc/codecs.conf	Sun Apr 01 15:59:44 2007 +0000
@@ -1978,6 +1978,14 @@
   dll "dsicinvideo"
   out BGR8
 
+videocodec ffthp
+  info "FFmpeg THP video"
+  status buggy
+  fourcc THPV ; internal MPlayer FourCC
+  driver ffmpeg
+  dll mjpeg
+  out YV12
+
 videocodec ffwc3
   info "FFmpeg XAN wc3"
   status buggy
--- a/libmpdemux/demux_lavf.c	Sun Apr 01 14:42:13 2007 +0000
+++ b/libmpdemux/demux_lavf.c	Sun Apr 01 15:59:44 2007 +0000
@@ -98,6 +98,7 @@
     { CODEC_ID_IDCIN,             MKTAG('I', 'D', 'C', 'I')},
     { CODEC_ID_INTERPLAY_VIDEO,   MKTAG('I', 'N', 'P', 'V')},
     { 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_VMDVIDEO,          MKTAG('V', 'M', 'D', 'V')},
     { CODEC_ID_WS_VQA,            MKTAG('V', 'Q', 'A', 'V')},