From 05802842c9d8f1d3ff5296c1d5962f24f3ee5807 Mon Sep 17 00:00:00 2001 From: arpi Date: Thu, 5 Dec 2002 00:15:56 +0000 Subject: This patch makes it possible to navigate among the subtitles while playing movies. It can be very useful when using desynched subtitles. A new command 'sub_step' is added, which takes an integer argument. 'sub_step +1' will immediately display the next subtitle, adjusting sub_delay as if one had used the 'sub_delay' command to navigate to the subtitle. 'sub_step -1' displays the previous subtitle and adjusts the sub_delay. By using these two commands you can navigate among the subtitles without having to search blindly using 'sub_delay'. patch by Oskar Liljeblad (oskar@osk.mine.nu) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8366 b3059339-0415-0410-9bf9-f77b7e298cf2 --- subreader.h | 1 + 1 file changed, 1 insertion(+) (limited to 'subreader.h') diff --git a/subreader.h b/subreader.h index 61922d46a3..22a5cef04e 100644 --- a/subreader.h +++ b/subreader.h @@ -45,4 +45,5 @@ void dump_mpsub(subtitle* subs, float fps); void dump_microdvd(subtitle* subs, float fps); void sub_free( subtitle * subs ); void find_sub(subtitle* subtitles,int key); +void step_sub(subtitle *subtitles, float pts, int movement); #endif -- cgit v1.2.3