[MPlayer-cvslog] CVS: main/libmpdemux muxer_lavf.c,1.16,1.17

Michael Niedermayer CVS syncmail at mplayerhq.hu
Wed Jan 25 00:55:46 CET 2006


CVS change done by Michael Niedermayer CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv21822

Modified Files:
	muxer_lavf.c 
Log Message:
setting codec_tag unconditionally to FMP4 is a bad idea (breaks mov/mp4)


Index: muxer_lavf.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/muxer_lavf.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- muxer_lavf.c	9 Jan 2006 19:35:44 -0000	1.16
+++ muxer_lavf.c	24 Jan 2006 23:55:43 -0000	1.17
@@ -204,7 +204,9 @@
 	else if(stream->type == MUXER_TYPE_VIDEO)
 	{
 		ctx->codec_id = codec_get_bmp_id(stream->bih->biCompression);
+#if 0 //breaks mov/mp4
                 ctx->codec_tag= stream->bih->biCompression;
+#endif
 		mp_msg(MSGT_MUXER, MSGL_INFO, "VIDEO CODEC ID: %d\n", ctx->codec_id);
 		ctx->width = stream->bih->biWidth;
 		ctx->height = stream->bih->biHeight;




More information about the MPlayer-cvslog mailing list