XVideo (Xv) feed flickers on mouse-over with certain video cards
Justin Anderson
justin at rayonix.com
Tue Jun 3 14:55:33 PDT 2008
Greetings,
I'm trying to resolve a thorny issue. I'm working on an application built
with C/X/Motif in which we have a window where the feed from a video camera
is put. We also draw a set of "cross-hairs" (simply two lines) which can be
moved with the mouse to target a point on the video feed (for user's visual
reference). We add the video with the "XvPutVideo" command.
Everything worked OK until the 6000 series of nVidia graphics cards (as well
as ATI cards around-about that time). Since then, the cross-hairs are
overdrawn by the video. If you move the mouse pointer over the video feed,
the video flickers as you move around and, simultaneously, the crosshairs
appear. When you stop moving, the crosshairs disappear and the video stops
flickering. Accorging to the MythTV website, nVidia cards stopped having a
Chroma Key feature with the 6000 series. I'm not sure if that has something
to do with it.
I think I can resolve the problem of the cross-hairs being overdrawn by the
video feed if I add a Pixmap ClipMask which is black (0) where the
cross-hairs are located and white (1) everywhere else. However, the video
flickering is still present.
Does anyone have any suggestions?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20080603/59194f5e/attachment.html>
More information about the xorg
mailing list