1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-14 19:05:33 +00:00

Add support for lavf vqf demuxer and lavc TwinVQ decoder.

Also make lavf the default demuxer for vqf.

Ok'ed by Compn on IRC.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29655 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
vitor 2009-09-07 17:20:44 +00:00
parent af8ff1be74
commit 9d99f5bd8d
4 changed files with 11 additions and 1 deletions

View File

@ -4105,6 +4105,14 @@ audiocodec pscelp
driver acm
dll "smcelp32.acm"
audiocodec fftwinvq
info "FFmpeg TwinVQ"
status working
fourcc TWI2 ; internal MPlayer FourCC, different from mplayer's TwinVQ decoder
; since lavf demuxer is incompatible with it
driver ffmpeg
dll twinvq
audiocodec TwinVQ
info "VQF codec by NTTLabs"
status working

View File

@ -183,6 +183,7 @@ static const char * const preferred_list[] = {
"mov,mp4,m4a,3gp,3g2,mj2",
"mpc",
"mpc8",
"vqf",
NULL
};

View File

@ -65,7 +65,7 @@ static struct {
{ "it", DEMUXER_TYPE_XMMS },
{ "mid", DEMUXER_TYPE_XMMS },
{ "midi", DEMUXER_TYPE_XMMS },
{ "vqf", DEMUXER_TYPE_XMMS },
{ "vqf", DEMUXER_TYPE_LAVF },
{ "nsv", DEMUXER_TYPE_NSV },
{ "nsa", DEMUXER_TYPE_NSV },
{ "mpc", DEMUXER_TYPE_MPC },

View File

@ -46,6 +46,7 @@ static const AVCodecTag mp_wav_tags[] = {
{ CODEC_ID_SPEEX, MKTAG('s', 'p', 'x', ' ')},
{ CODEC_ID_TRUEHD, MKTAG('T', 'R', 'H', 'D')},
{ CODEC_ID_TTA, MKTAG('T', 'T', 'A', '1')},
{ CODEC_ID_TWINVQ, MKTAG('T', 'W', 'I', '2')},
{ CODEC_ID_WAVPACK, MKTAG('W', 'V', 'P', 'K')},
{ CODEC_ID_WESTWOOD_SND1, MKTAG('S', 'N', 'D', '1')},
{ CODEC_ID_XAN_DPCM, MKTAG('A', 'x', 'a', 'n')},