diff options
Diffstat (limited to 'libvo/vo_x11.c')
-rw-r--r-- | libvo/vo_x11.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c index 587730a89a..24bc98ba7d 100644 --- a/libvo/vo_x11.c +++ b/libvo/vo_x11.c @@ -440,8 +440,6 @@ static void draw_osd(struct vo *vo, struct osd_state *osd) struct mp_image img = get_x_buffer(p); - struct mp_csp_details csp = MP_CSP_DETAILS_DEFAULTS; - struct mp_osd_res res = { .w = img.w, .h = img.h, @@ -449,7 +447,7 @@ static void draw_osd(struct vo *vo, struct osd_state *osd) .video_par = vo->aspdat.par, }; - osd_draw_on_image(osd, res, osd->vo_pts, 0, &img, &csp); + osd_draw_on_image(osd, res, osd->vo_pts, 0, &img); } static void flip_page(struct vo *vo) |