Commit 943350ba authored by Jean-Paul Saman's avatar Jean-Paul Saman

Use the application provided display.

The xvba-video wrapper used a local X11 connection. However this prevents
using overlays on the application provided X11 display to be shown.
parent ccd8928e
......@@ -182,9 +182,12 @@ static void *render_thread(void *arg)
obj_output->render_thread_ok = 0;
return NULL;
}
#else
#elif 0
/* Use the xvba-video global X11 display */
Display * const x11_dpy = driver_data->x11_dpy_local;
#else
/* Use the application provided display */
Display * const x11_dpy = driver_data->x11_dpy;
#endif
ASSERT(obj_output->render_context);
......
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