mirror of https://github.com/mpv-player/mpv
10L
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9975 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4522bce4ca
commit
7e219d9be4
|
@ -23,10 +23,11 @@ extern float sub_fps;
|
|||
|
||||
void step_sub(sub_data *subd, float pts, int movement) {
|
||||
subtitle *subs;
|
||||
int key = (pts+sub_delay) * (subd->sub_uses_time ? 100 : sub_fps);
|
||||
int key;
|
||||
|
||||
if (subd == NULL) return;
|
||||
subs = subd->subtitles;
|
||||
key = (pts+sub_delay) * (subd->sub_uses_time ? 100 : sub_fps);
|
||||
|
||||
/* Tell the OSD subsystem that the OSD contents will change soon */
|
||||
vo_osd_changed(OSDTYPE_SUBTITLE);
|
||||
|
|
Loading…
Reference in New Issue