diff options
author | wm4 <wm4@nowhere> | 2012-10-16 07:26:45 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-10-16 07:26:45 +0200 |
commit | f45eab6faea05834c1337175dbe51437707b8d7e (patch) | |
tree | e8c4b6fa8621c5456ad5cfd9400366ac32c9484d /libao2/ao_lavc.c | |
parent | 84c34806864d0e44855d87e9fb47c70297f260ef (diff) |
sub: fix and simplify some change detection details
Fix spudec change detection. The internal changed-flag was not reset
when retrieving indexed bitmaps, and subtitles were rescaled every
frame, even if they were not changing.
Simplify subtitle decoders by not requiring them to check whether the
passed-in screen size has changed. sd_lavc did this, and spudec would
have needed to do the same. Instead, leave this to the osd_object
force_redraw flag. Subtitle decoders (such as libass) can still signal
that only the positions of subtitles have changed, but making _all_
subtitle decoders do this just to deal with screen size changes is
worthless.
Diffstat (limited to 'libao2/ao_lavc.c')
0 files changed, 0 insertions, 0 deletions