diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-12-18 19:18:19 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-12-18 19:53:34 +0200 |
commit | 8ee23f418f1e8ea0310f01d4b48c73a693056d87 (patch) | |
tree | 94055a853f11629a6f0ab061b8c5eb9c73986ba7 /mplayer.c | |
parent | efcc9ad7120e01a17fc3659cb0229135b1cebb95 (diff) | |
download | mpv-8ee23f418f1e8ea0310f01d4b48c73a693056d87.tar.bz2 mpv-8ee23f418f1e8ea0310f01d4b48c73a693056d87.tar.xz |
subtitles: Fix double text with libass rendered plaintext subs
When using libass to render plaintext (non-SSA/ASS) subtitles the code
in update_subtitles() still called set_osd_subtitle() in one case,
causing the global vo_sub variable containing non-libass subtitles to
be set. Under some circumstances this resulted in both a
libass-rendered and non-libass-rendered version of the same subtitle
appearing on screen. Fix by running the subtitle clearing code (which
called set_osd_subtitle) only when libass is not used.
Diffstat (limited to 'mplayer.c')
0 files changed, 0 insertions, 0 deletions