Mercurial > mplayer.hg
changeset 31262:a22559ea1c28
If we have no FPS value, try enabling -correct-pts mode, it does
not require any FPS value.
author | reimar |
---|---|
date | Sat, 05 Jun 2010 16:46:25 +0000 |
parents | cd1dd08a0afc |
children | 6428a4b38763 |
files | mplayer.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mplayer.c Sat Jun 05 16:37:10 2010 +0000 +++ b/mplayer.c Sat Jun 05 16:46:25 2010 +0000 @@ -3498,9 +3498,9 @@ } 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; } }