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
This commit is contained in:
reimar 2010-06-05 16:46:25 +00:00
parent eced1edd7e
commit 09bca6575f
1 changed files with 2 additions and 2 deletions

View File

@ -3498,9 +3498,9 @@ if(mpctx->sh_video){
} }
vo_fps = mpctx->sh_video->fps; 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); mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_FPSnotspecified);
mpctx->sh_video=mpctx->d_video->sh=NULL; correct_pts = 1;
} }
} }