Xv not visible after explicit draw
Michel Dänzer
michel at daenzer.net
Sat Feb 5 14:36:37 PST 2005
On Fri, 2005-02-04 at 12:44 +0100, Ronald S. Bultje wrote:
>
> We're having a bug in GStreamer where an Xv-window (filled with video
> continuously), for some drivers (examples are nvidia's closed-source
> driver and ATI cards (any driver), but not the trident or open-source
> nvidia driver), a window will not refresh properly after having had an
> explicit draw (XFillRectangle). A simple test case (that is, if you have
> GStreamer installed) is available in
> http://bugzilla.gnome.org/show_bug.cgi?id=162504. Running it will show
> video, pause for a few seconds and resume but the video will not show on
> some drivers after the resume. Moving the window around fixes it.
The XFillRectangle() call destroys the colour key of the video overlay.
The driver will only repaint the colour key when the region changes,
e.g. when the window is moved or resized.
> Is this a driver bug or an application bug? Assuming it's an application
> bug, what should I do after XFillRectangle() to make XvShmPutImage()
> succeed?
Looking at the radeon driver source, XvStopVideo() should do the trick.
--
Earthling Michel Dänzer | Debian (powerpc), X and DRI developer
Libre software enthusiast | http://svcs.affero.net/rm.php?r=daenzer
More information about the xorg
mailing list