From eb761e688ff0a7232c279f100a563b1bae1a5646 Mon Sep 17 00:00:00 2001 From: reimar Date: Fri, 6 Mar 2009 10:50:43 +0000 Subject: [PATCH] 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 --- libvo/vo_vdpau.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libvo/vo_vdpau.c b/libvo/vo_vdpau.c index c40c28d4ff..28ae555e71 100644 --- a/libvo/vo_vdpau.c +++ b/libvo/vo_vdpau.c @@ -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)