[Mplayer-cvslog] CVS: main/libmpdemux muxer_avi.c,1.16,1.17
Alex Beregszaszi
alex at mplayerhq.hu
Wed Jan 28 08:47:50 CET 2004
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv12588
Modified Files:
muxer_avi.c
Log Message:
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
Index: muxer_avi.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/muxer_avi.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- muxer_avi.c 3 Nov 2003 16:25:31 -0000 1.16
+++ muxer_avi.c 28 Jan 2004 07:47:48 -0000 1.17
@@ -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);
More information about the MPlayer-cvslog
mailing list