summaryrefslogtreecommitdiffstats
path: root/sub/ass_mp.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-08-08 06:01:05 +0300
committerUoti Urpala <uau@mplayer2.org>2011-08-08 06:01:05 +0300
commitf5d493d017519997ea1d5e09245a4dfa063698c7 (patch)
tree1f0cc9e7648bc2c0d152e3d2b3df02ca89261165 /sub/ass_mp.h
parent9920d6465068cdef068eddba4cf51e75d89b65ba (diff)
downloadmpv-f5d493d017519997ea1d5e09245a4dfa063698c7.tar.bz2
mpv-f5d493d017519997ea1d5e09245a4dfa063698c7.tar.xz
subs: libass: remove bad ass_set_margins() on settings reset
When libass-related options were changed at runtime, the reinitilization code executed ass_set_margins() with arguments that were correct for the vf_ass case but wrong for EOSD. This could cause the subtitles to be displayed incorrectly for one frame (vf_vo would run ass_set_margins() again with the correct parameters for the next frame). The call is actually redundant for the vf_ass case too as it's currently not possible to modify the margins during playback, so fix the problem by disabling the call.
Diffstat (limited to 'sub/ass_mp.h')
0 files changed, 0 insertions, 0 deletions