Commit ccd8928e authored by Jean-Paul Saman's avatar Jean-Paul Saman

src/xvba_driver.c: Use XCloseDisplay() when calling XOpenDisplay() in vaInitialize

When calling XOpenDisplay in vaInitialize, then also call XCloseDisplay in vaTerminate.
parent 3ac0592a
......@@ -125,6 +125,7 @@ static void xvba_common_Terminate(xvba_driver_data_t *driver_data)
}
xvba_gate_exit();
XCloseDisplay(driver_data->x11_dpy_local);
}
// vaInitialize
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment