• Finn Hughes's avatar
    Improve performance of zvbi subtitles · f520484d
    Finn Hughes authored
    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: default avatarJean-Baptiste Kempf <jb@videolan.org>
    f520484d
zvbi.c 26.6 KB