From 09bca6575f66394e1f4ba3845330d21d30895f3d Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 5 Jun 2010 16:46:25 +0000 Subject: If we have no FPS value, try enabling -correct-pts mode, it does not require any FPS value. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31328 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mplayer.c') diff --git a/mplayer.c b/mplayer.c index c7b13fcb25..0bb5797dc9 100644 --- a/mplayer.c +++ b/mplayer.c @@ -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; } } -- cgit v1.2.3