mirror of
https://github.com/mpv-player/mpv
synced 2025-01-14 02:51:26 +00:00
vo_vdpau: check vdpau API return value
This commit is contained in:
parent
180e35a175
commit
7363b0439f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user