subs: fix vf_ass --subdelay, remove sub_step slave command
commit88bb839002bc2804b40c353170840c0df1b4f3de
authorUoti Urpala <uau@mplayer2.org>
Fri, 4 Jan 2013 19:41:36 +0000 (4 21:41 +0200)
committerUoti Urpala <uau@mplayer2.org>
Fri, 4 Jan 2013 19:51:39 +0000 (4 21:51 +0200)
tree8ef5d9c4515588824e748ba7036440ee6ac1746e
parent6541c4a48fdce523a08963263f85918b83f3a05c
subs: fix vf_ass --subdelay, remove sub_step slave command

Commit 5639702953 ("subs: always use sub decoder framework for libass
rendering") broke --subdelay with vf_ass (it had no effect). Fix.

Remove sub_step slave command (was bound to keys 'g'/'y' by default).
This command allowed displaying the previous/next subtitle, but was
fairly useless as it was implemented by adjusting sub delay by an
amount that made the correct subtitle appear. This changed the delay
setting permanently, and there was no easy way to change it back to
the previous value.

Move the sub_delay variable to the option struct.
13 files changed:
DOCS/man/en/control.rst
DOCS/tech/slave.txt
cfg-mplayer.h
command.c
etc/input.conf
input/input.c
input/input.h
libmpcodecs/vf_ass.c
mplayer.c
options.h
sub/find_sub.c
sub/sub.h
sub/subreader.h