mirror of
https://github.com/mpv-player/mpv
synced 2024-12-17 04:15:13 +00:00
Remove duplicate OSD drawing introduced due to a conflict between r28840 and r28839.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28842 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
3be5ebde87
commit
eb761e688f
@ -660,7 +660,7 @@ static void generate_eosd(mp_eosd_images_t *imgs) {
|
||||
|
||||
// Nothing changed, no need to redraw
|
||||
if (imgs->changed == 0)
|
||||
goto eosd_draw_only;
|
||||
return;
|
||||
eosd_render_count = 0;
|
||||
// There's nothing to render!
|
||||
if (!img)
|
||||
@ -739,8 +739,6 @@ eosd_skip_upload:
|
||||
eosd_targets[eosd_render_count].source.y1 = i->h;
|
||||
eosd_render_count++;
|
||||
}
|
||||
eosd_draw_only:
|
||||
draw_eosd();
|
||||
}
|
||||
|
||||
static void draw_osd(void)
|
||||
|
Loading…
Reference in New Issue
Block a user