xvimagesink: do not call _xwindow_clear on ready->paused.
authorStefan Kost <ensonic@users.sf.net>
Thu, 5 Feb 2009 13:47:00 +0000 (15:47 +0200)
committerStefan Kost <ensonic@users.sf.net>
Thu, 5 Feb 2009 13:51:25 +0000 (15:51 +0200)
commit26e4e3dcfecd239a48811e9dbd263b004eab634b
treef23f7653225ac938c356b2cbbb15b1989e52a16a
parent76112f9f040e0b99339fd272b30ca512a4a33a23
xvimagesink: do not call _xwindow_clear on ready->paused.

Calling clear at that transition does things like stopping xvideo (which is not
running at that time) and also clearing anything what the application might have drawn.
This breaks handle-expose and autopaint-colorkey features.
sys/xvimage/xvimagesink.c