1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-30 02:52:10 +00:00

Set fcchandler according to fourcc, some players (Archos Jukebox) need it, also imho a player should use that field for determining fourcc, hopefully it doesn't break anything

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11864 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2004-01-28 07:47:48 +00:00
parent 0d681a16cf
commit f47e909d09

View File

@ -191,9 +191,11 @@ static void avifile_write_header(muxer_t *muxer){
switch(muxer->streams[i]->type){
case MUXER_TYPE_VIDEO:
hdrsize+=muxer->streams[i]->bih->biSize+8; // strf
muxer->streams[i]->h.fccHandler = muxer->streams[i]->bih->biCompression;
break;
case MUXER_TYPE_AUDIO:
hdrsize+=WFSIZE(muxer->streams[i]->wf)+8; // strf
muxer->streams[i]->h.fccHandler = muxer->streams[i]->wf->wFormatTag;
break;
}
write_avi_list(f,listtypeSTREAMHEADER,hdrsize);