[MPlayer-cvslog] r31328 - trunk/mplayer.c

reimar subversion at mplayerhq.hu
Sat Jun 5 18:46:25 CEST 2010


Author: reimar
Date: Sat Jun  5 18:46:25 2010
New Revision: 31328

Log:
If we have no FPS value, try disabling -correct-pts mode, it does
not require any FPS value.

Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Sat Jun  5 18:37:10 2010	(r31327)
+++ trunk/mplayer.c	Sat Jun  5 18:46:25 2010	(r31328)
@@ -3498,9 +3498,9 @@ if(mpctx->sh_video){
     }
     vo_fps = mpctx->sh_video->fps;
 
-    if(!mpctx->sh_video->fps && !force_fps){
+    if(!mpctx->sh_video->fps && !force_fps && !correct_pts){
       mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_FPSnotspecified);
-      mpctx->sh_video=mpctx->d_video->sh=NULL;
+      correct_pts = 1;
     }
   }
 


More information about the MPlayer-cvslog mailing list