]> git.sesse.net Git - vlc/commit
Improve performance of zvbi subtitles
authorFinn Hughes <finn.hughes@lincor.com>
Tue, 11 Jun 2013 16:30:51 +0000 (17:30 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 12 Jun 2013 10:31:48 +0000 (12:31 +0200)
commitf520484d7827656ab6f49700a3c3d05481f89bd7
tree839f833a71f303bb6ddb56f892a24f4689a047e9
parent827ca369906411fada6c6bc9008c81b5dfdf048a
Improve performance of zvbi subtitles

Ignore wholly translucent rows at the top and bottom of the subtitle page

Only create an overlay large enough for the remaining rows and only only ask
zvbi to render those rows.

One happy side effect is that now --vbi-text no longer outputs header text
for some teletext streams (although --vbi-text is still unusable imho).

Reducing the size of the overlay allows stutter free playback of teletext
subtitles on significantly slower hardware.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/codec/zvbi.c