Make sure QVideoSurfaceGLPainter always uses a valid texture.
authorYoann Lopes <yoann.lopes@digia.com>
Wed, 16 Jan 2013 12:06:51 +0000 (13:06 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 16 Jan 2013 17:02:27 +0000 (18:02 +0100)
commit02fb5bea9bb0828a9f56989f6e48835eddd3310d
treea0464a7595d0345f6ec82b8dcf0beea2ba0cc25b
parentae64113c2fd8150748feedda9b49d84c54d85814
Make sure QVideoSurfaceGLPainter always uses a valid texture.

QVideoSurfaceGLPainter should not assume that the GL texture provided
by the QVideoFrame is fully initialized for drawing.

Change-Id: I752ecf69a3cf1faf0a7cf8f84b372c3b347824be
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
src/multimediawidgets/qpaintervideosurface.cpp