Mercurial > mplayer.hg
view mplayer.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 | 37ab4e646f65 |
children | c6a1a5b6ba25 |
line wrap: on
line source
#ifndef __MPLAYER_MAIN #define __MPLAYER_MAIN #include "libvo/sub.h" #include "subreader.h" extern int use_gui; extern char* current_module; extern int vcd_track; extern char ** audio_fm_list; extern char ** video_fm_list; extern char ** video_driver_list; extern char ** audio_driver_list; extern char * video_driver; extern char * audio_driver; extern float audio_delay; extern int osd_level; extern int osd_visible; extern char * font_name; extern float font_factor; extern float movie_aspect; extern char * sub_name; extern float sub_delay; extern float sub_fps; extern int sub_auto; extern int sub_pos; extern int sub_unicode; extern subtitle* subtitles; extern subtitle* vo_sub; extern char * filename; extern int stream_cache_size; extern int force_ni; extern int index_mode; extern int autosync; // libmpcodecs: extern int fullscreen; extern int flip; extern int frame_dropping; extern int auto_quality; extern int audio_id; extern int video_id; extern int dvdsub_id; extern void exit_player(char* how); #endif