[MPlayer-cvslog] CVS: main/libmpcodecs vf_lavc.c,1.17,1.18

Nico Sabbi CVS syncmail at mplayerhq.hu
Tue Jun 28 21:41:10 CEST 2005


CVS change done by Nico Sabbi CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv27240

Modified Files:
	vf_lavc.c 
Log Message:
restored framerate autodetection based on height

Index: vf_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_lavc.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- vf_lavc.c	5 May 2005 09:47:41 -0000	1.17
+++ vf_lavc.c	28 Jun 2005 19:41:08 -0000	1.18
@@ -62,7 +62,7 @@
     lavc_venc_context.height = height;
     
 #if LIBAVCODEC_BUILD >= 4754
-    if(!lavc_venc_context.time_base.num){
+    if(!lavc_venc_context.time_base.num || !lavc_venc_context.time_base.den){
 #else
     if(!lavc_venc_context.frame_rate){
 #endif




More information about the MPlayer-cvslog mailing list