vo_vdpau: check vdpau API return value

This commit is contained in:
wm4 2015-03-23 18:12:05 +01:00
parent 180e35a175
commit 7363b0439f
1 changed files with 1 additions and 0 deletions

View File

@ -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)