]> git.sesse.net Git - vlc/commit
XCB/XVideo: support parent window with ARGB visual (refs #3581)
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 1 Jun 2010 20:10:52 +0000 (23:10 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 1 Jun 2010 20:13:56 +0000 (23:13 +0300)
commitffb2a1bbf249eec74366f9f0c8005a011661caa0
tree91d67f598a9645d5a8b9ce407e8951ec50539923
parent1af1e3b16f2c70d802e5155efd38823756ca1be9
XCB/XVideo: support parent window with ARGB visual (refs #3581)

X11 inherits properties from the parent window by default. XVideo does
not (typically) like ARGB visuals. To create plain RGB window on an ARGB
window, we need to force the color map, background and border parameters
to non-ARGB values.

There is one remaining problem to enable ARGB support in Qt4: the Qt4
video widget has a transparent background by default. This is inadequate
in fullscreen mode.
modules/video_output/xcb/xvideo.c