summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcompn <compn@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-06-24 12:15:31 +0000
committercompn <compn@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-06-24 12:15:31 +0000
commitc191e0424b5e45e3dc46340b2e820603530a6ddb (patch)
tree1b1df061f09739ed610d239b856099a18eefd0d4
parent8fc592968a55c84ff88ee95932a37f8ec4c599d1 (diff)
downloadmpv-c191e0424b5e45e3dc46340b2e820603530a6ddb.tar.bz2
mpv-c191e0424b5e45e3dc46340b2e820603530a6ddb.tar.xz
add support for /game-formats/psx-str/
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27133 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--Changelog2
-rw-r--r--etc/codecs.conf15
-rw-r--r--libmpdemux/extension.c1
-rw-r--r--libmpdemux/mp_taglists.c2
4 files changed, 19 insertions, 1 deletions
diff --git a/Changelog b/Changelog
index 8fb23f9723..29e5673a69 100644
--- a/Changelog
+++ b/Changelog
@@ -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:
diff --git a/etc/codecs.conf b/etc/codecs.conf
index 2d149fa2ea..64f8706815 100644
--- a/etc/codecs.conf
+++ b/etc/codecs.conf
@@ -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"
diff --git a/libmpdemux/extension.c b/libmpdemux/extension.c
index 87cc07cc25..5db36b6f29 100644
--- a/libmpdemux/extension.c
+++ b/libmpdemux/extension.c
@@ -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
diff --git a/libmpdemux/mp_taglists.c b/libmpdemux/mp_taglists.c
index a620ef5649..4fcc95d6bd 100644
--- a/libmpdemux/mp_taglists.c
+++ b/libmpdemux/mp_taglists.c
@@ -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')},