mirror of https://github.com/mpv-player/mpv
Make sure we do not accidentally use the vdp_get_error_string from the
previous initialization. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29106 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
05be65cb86
commit
79568f8ea5
|
@ -375,6 +375,7 @@ static int win_x11_init_vdpau_procs(void)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vdp_get_error_string = NULL;
|
||||||
for (dsc = vdp_func; dsc->pointer; dsc++) {
|
for (dsc = vdp_func; dsc->pointer; dsc++) {
|
||||||
vdp_st = vdp_get_proc_address(vdp_device, dsc->id, dsc->pointer);
|
vdp_st = vdp_get_proc_address(vdp_device, dsc->id, dsc->pointer);
|
||||||
if (vdp_st != VDP_STATUS_OK) {
|
if (vdp_st != VDP_STATUS_OK) {
|
||||||
|
|
Loading…
Reference in New Issue