changeset 37 | 758a864f9613 |
parent 18 | 2f34d5167611 |
--- a/src/multimedia/video/qvideosurfaceformat.cpp Fri Sep 17 08:34:18 2010 +0300 +++ b/src/multimedia/video/qvideosurfaceformat.cpp Mon Oct 04 01:19:32 2010 +0300 @@ -252,7 +252,7 @@ bool QVideoSurfaceFormat::isValid() const { - return d->pixelFormat == QVideoFrame::Format_Invalid && d->frameSize.isValid(); + return d->pixelFormat != QVideoFrame::Format_Invalid && d->frameSize.isValid(); } /*!