[MPlayer-cvslog] CVS: main/libmpdemux muxer_lavf.c,1.5,1.6

Richard Felker CVS syncmail at mplayerhq.hu
Sun May 1 07:11:04 CEST 2005


CVS change done by Richard Felker CVS

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

Modified Files:
	muxer_lavf.c 
Log Message:
at lest this fixes build.. there's no way muxer_lavf is working right yet tho with mencoder's broken timestamps

Index: muxer_lavf.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/muxer_lavf.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- muxer_lavf.c	17 Apr 2005 09:13:48 -0000	1.5
+++ muxer_lavf.c	1 May 2005 05:11:02 -0000	1.6
@@ -180,8 +180,13 @@
 		ctx->width = stream->bih->biWidth;
 		ctx->height = stream->bih->biHeight;
 		ctx->bit_rate = 800000;
+#if (LIBAVFORMAT_BUILD >= 4624)
+		ctx->time_base.den = stream->h.dwRate;
+		ctx->time_base.num = stream->h.dwScale;
+#else
 		ctx->frame_rate = stream->h.dwRate;
 		ctx->frame_rate_base = stream->h.dwScale;
+#endif
 	}
 }
 




More information about the MPlayer-cvslog mailing list