vf_vo: fix EOSD change detection bug
commit6d65f6889af5c4ad8874f59d97e73053fa31aba5
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 18 Jan 2011 14:54:52 +0000 (18 16:54 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 18 Jan 2011 14:54:52 +0000 (18 16:54 +0200)
treee7d1b2887934543a21ef07fe8f4a77d10763be09
parent7bb10e7ce2683da43345a60584c63479751366ff
vf_vo: fix EOSD change detection bug

vf_vo had code setting its prev_visibility variable correctly, then a
line that overrode the value just set with an incorrect one. Remove
the wrong extra line. As a result of the bug the "contents changed"
indicator wasn't forced to true when switching from a subtitle track
to "no track" and then back. A visible effect was at least that a
currently visible static subtitle disappeared when doing that switch
back and forth.
libmpcodecs/vf_vo.c