[Qt-interest] bliking when overpainting on the XvImage with QPainter
Lee
darklin20 at gmail.com
Thu Jul 9 15:02:40 CEST 2009
> Try to access/draw the XvImage data directly into the "Qt double buffer", without copying it first into a QPixmap
Actually, I already tried to do so, but it turned out that I cannot
'put' XvImage to a pixmap.
http://lists.x.org/archives/xorg-devel/2009-April/000641.html
I may be able to use QImage for off-screen drawing, but it will take a
lot of time and is not proper to playing video.
> you set the attribute Qt::WA_PaintOnScreen - which you DID! Leave it to the default setting
I can't. Turing off the attribute makes it worse. The video frame is
shown in a split second rather than blinking.
Now I begin to think it's impossible to integrate Xv into Qt painting system...
Thank you for your answering.
More information about the Qt-interest-old
mailing list