From 7363b0439fba27a368028480bac42f0eddb20ff5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 23 Mar 2015 18:12:05 +0100 Subject: [PATCH] vo_vdpau: check vdpau API return value --- video/out/vo_vdpau.c | 1 + 1 file changed, 1 insertion(+) diff --git a/video/out/vo_vdpau.c b/video/out/vo_vdpau.c index 995b579ba6..93b5cee5d3 100644 --- a/video/out/vo_vdpau.c +++ b/video/out/vo_vdpau.c @@ -568,6 +568,7 @@ static void generate_osd_part(struct vo *vo, struct sub_bitmaps *imgs) &(const void *){zeros}, &(uint32_t){0}, &(VdpRect){0, 0, sfc->packer->used_width, sfc->packer->used_height}); + CHECK_VDP_WARNING(vo, "OSD: error uploading OSD bitmap"); } if (sfc->surface == VDP_INVALID_HANDLE)