Mercurial > mplayer.hg
changeset 11863:9d5fdc9847ec
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
author | alex |
---|---|
date | Wed, 28 Jan 2004 07:47:48 +0000 |
parents | e40abd8c542b |
children | ee76aa308c0a |
files | libmpdemux/muxer_avi.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/muxer_avi.c Tue Jan 27 22:20:38 2004 +0000 +++ b/libmpdemux/muxer_avi.c Wed Jan 28 07:47:48 2004 +0000 @@ -191,9 +191,11 @@ 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);