aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libvo/vo_vdpau.c4
1 files changed, 1 insertions, 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)