diff options
author | wm4 <wm4@nowhere> | 2015-03-23 18:12:05 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-03-23 18:12:05 +0100 |
commit | 7363b0439fba27a368028480bac42f0eddb20ff5 (patch) | |
tree | 68b19dbd1a2fb910ba93b87243bb07fa87e9169c | |
parent | 180e35a175473c272c1dddf03b9b21e3f6d70119 (diff) |
vo_vdpau: check vdpau API return value
-rw-r--r-- | video/out/vo_vdpau.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |