# HG changeset patch # User reimar # Date 1275756385 0 # Node ID a22559ea1c287f5583db043d0de325940edae8c7 # Parent cd1dd08a0afc722cab179b5d0355be0698fd6e89 If we have no FPS value, try enabling -correct-pts mode, it does not require any FPS value. diff -r cd1dd08a0afc -r a22559ea1c28 mplayer.c --- 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; } }