[MPlayer-cvslog] r27133 - in trunk: Changelog etc/codecs.conf libmpdemux/extension.c libmpdemux/mp_taglists.c

compn subversion at mplayerhq.hu
Tue Jun 24 14:15:31 CEST 2008


Author: compn
Date: Tue Jun 24 14:15:31 2008
New Revision: 27133

Log:
add support for /game-formats/psx-str/

Modified:
   trunk/Changelog
   trunk/etc/codecs.conf
   trunk/libmpdemux/extension.c
   trunk/libmpdemux/mp_taglists.c

Modified: trunk/Changelog
==============================================================================
--- trunk/Changelog	(original)
+++ trunk/Changelog	Tue Jun 24 14:15:31 2008
@@ -7,7 +7,7 @@ MPlayer (1.0)
     * support for DTS WAV/DTS-CD passthrough by ad_hwac3
     * Apple's raw YUV2 in MOV
     * LATM over LOAS AAC decoding via internal libfaad2
-    * video game codecs: BFI video
+    * video game codecs: BFI video, PSX STR files
     * AVOption support for libavcodec-based decoders
 
     Demuxers:

Modified: trunk/etc/codecs.conf
==============================================================================
--- trunk/etc/codecs.conf	(original)
+++ trunk/etc/codecs.conf	Tue Jun 24 14:15:31 2008
@@ -9,6 +9,14 @@ release 20070930
 ;                   VIDEO CODECS
 ;=============================================================================
 
+videocodec ffmdec
+  info "FFmpeg Sony PlayStation MDEC (Motion DECoder)"
+  status working
+  fourcc MDEC ; internal MPlayer FourCC
+  driver ffmpeg
+  dll mdec
+  out YV12
+
 videocodec ffsiff
   info "FFmpeg Beam Software SIFF decoder"
   status working
@@ -2813,6 +2821,13 @@ audiocodec ffadpcmeamaxis
   driver ffmpeg
   dll adpcm_ea_maxis_xa
 
+audiocodec ffadpcmxa
+  info "FFmpeg XA ADPCM audio"
+  status working
+  fourcc PSXA ; internal MPlayer FourCC
+  driver ffmpeg
+  dll adpcm_xa
+
 audiocodec ffxandpcm
   info "FFmpeg XAN DPCM audio"
   comment "only works with libavformat demuxer"

Modified: trunk/libmpdemux/extension.c
==============================================================================
--- trunk/libmpdemux/extension.c	(original)
+++ trunk/libmpdemux/extension.c	Tue Jun 24 14:15:31 2008
@@ -62,6 +62,7 @@ static struct {
         { "ape", DEMUXER_TYPE_LAVF },
         { "apl", DEMUXER_TYPE_LAVF },
         { "mac", DEMUXER_TYPE_LAVF },
+        { "str", DEMUXER_TYPE_LAVF },
 
 // At least the following are hacks against broken autodetection
 // that should not be there

Modified: trunk/libmpdemux/mp_taglists.c
==============================================================================
--- trunk/libmpdemux/mp_taglists.c	(original)
+++ trunk/libmpdemux/mp_taglists.c	Tue Jun 24 14:15:31 2008
@@ -27,6 +27,7 @@ static const AVCodecTag mp_wav_tags[] = 
     { CODEC_ID_ADPCM_EA_MAXIS_XA, MKTAG('A', 'D', 'X', 'A')},
     { CODEC_ID_ADPCM_IMA_WS,      MKTAG('A', 'I', 'W', 'S')},
     { CODEC_ID_ADPCM_THP,         MKTAG('T', 'H', 'P', 'A')},
+    { CODEC_ID_ADPCM_XA,          MKTAG('P', 'S', 'X', 'A')},
     { CODEC_ID_AMR_NB,            MKTAG('n', 'b',   0,   0)},
     { CODEC_ID_COOK,              MKTAG('c', 'o', 'o', 'k')},
     { CODEC_ID_DSICINAUDIO,       MKTAG('D', 'C', 'I', 'A')},
@@ -69,6 +70,7 @@ static const AVCodecTag mp_bmp_tags[] = 
     { CODEC_ID_FLIC,              MKTAG('F', 'L', 'I', 'C')},
     { CODEC_ID_IDCIN,             MKTAG('I', 'D', 'C', 'I')},
     { CODEC_ID_INTERPLAY_VIDEO,   MKTAG('I', 'N', 'P', 'V')},
+    { CODEC_ID_MDEC,              MKTAG('M', 'D', 'E', 'C')},
     { CODEC_ID_RL2,               MKTAG('R', 'L', '2', 'V')},
     { CODEC_ID_ROQ,               MKTAG('R', 'o', 'Q', 'V')},
     { CODEC_ID_THP,               MKTAG('T', 'H', 'P', 'V')},



More information about the MPlayer-cvslog mailing list