comparison input/input.h @ 8365:423a19edc0a4

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)
author arpi
date Thu, 05 Dec 2002 00:15:56 +0000
parents 137b7574c85f
children 47cf94058137
comparison
equal deleted inserted replaced
8364:137b7574c85f 8365:423a19edc0a4
33 #define MP_CMD_VOBSUB_LANG 31 33 #define MP_CMD_VOBSUB_LANG 31
34 #define MP_CMD_MENU 32 34 #define MP_CMD_MENU 32
35 #define MP_CMD_SET_MENU 33 35 #define MP_CMD_SET_MENU 33
36 #define MP_CMD_GET_TIME_LENGTH 34 36 #define MP_CMD_GET_TIME_LENGTH 34
37 #define MP_CMD_GET_PERCENT_POS 35 37 #define MP_CMD_GET_PERCENT_POS 35
38 #define MP_CMD_SUB_STEP 36
38 39
39 #define MP_CMD_GUI_EVENTS 5000 40 #define MP_CMD_GUI_EVENTS 5000
40 #define MP_CMD_GUI_LOADFILE 5001 41 #define MP_CMD_GUI_LOADFILE 5001
41 #define MP_CMD_GUI_LOADSUBTITLE 5002 42 #define MP_CMD_GUI_LOADSUBTITLE 5002
42 #define MP_CMD_GUI_ABOUT 5003 43 #define MP_CMD_GUI_ABOUT 5003