1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-23 23:56:20 +00:00

s/vo_osd_changed/vo_osd_changed_flag

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20285 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
syrjala 2006-10-17 13:23:13 +00:00
parent f3068fb85d
commit 3668b5afc5

View File

@ -950,7 +950,7 @@ static void
clear_alpha( int x0, int y0, clear_alpha( int x0, int y0,
int w, int h ) int w, int h )
{ {
if (use_spic && !flipping && vo_osd_changed) if (use_spic && !flipping && vo_osd_changed_flag)
subframe->FillRectangle( subframe, x0, y0, w, h ); subframe->FillRectangle( subframe, x0, y0, w, h );
} }
@ -965,7 +965,7 @@ draw_alpha( int x0, int y0,
int pitch; int pitch;
if (use_spic) { if (use_spic) {
if (!osd_changed || (!flipping && !vo_osd_changed)) if (!osd_changed || (!flipping && !vo_osd_changed_flag))
return; return;
osd_dirty |= osd_current; osd_dirty |= osd_current;
} else { } else {