From f2b9c324ff79f878e5648b5290f54695721891f6 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 22 Sep 2007 13:24:58 +0000 Subject: Revert r24103, it was nonsense and add a comment that explains the code git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24591 b3059339-0415-0410-9bf9-f77b7e298cf2 --- subreader.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'subreader.c') diff --git a/subreader.c b/subreader.c index a83ce4ee1e..1a58b3231d 100644 --- a/subreader.c +++ b/subreader.c @@ -1255,7 +1255,9 @@ static void adjust_subs_time(subtitle* sub, float subtime, float fps, int block, */ /* timed sub fps correction ::atmos */ - if(sub_fps) { + /* the frame-based case is handled in mpcommon.c + * where find_sub is called */ + if(sub_uses_time && sub_fps) { sub->start *= sub_fps/fps; sub->end *= sub_fps/fps; } -- cgit v1.2.3