diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-06-10 15:46:56 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-06-10 15:46:56 (GMT) |
commit | 62abe9373a5a5bd2af9903c3b35253ae9a6b2427 (patch) | |
tree | 65e33b7db912dc89e853e5a9f740f56fee439ff1 /src | |
parent | e6dedd0e1b3708de278f42bbcfffda5ffbe00da2 (diff) | |
parent | b2cfa7ceaba6f6aef3f9d01f82f8aba95ba45cd6 (diff) | |
download | Qt-62abe9373a5a5bd2af9903c3b35253ae9a6b2427.zip Qt-62abe9373a5a5bd2af9903c3b35253ae9a6b2427.tar.gz Qt-62abe9373a5a5bd2af9903c3b35253ae9a6b2427.tar.bz2 |
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging into 4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging:
Regression Qt4.4: QMovie does not render properly some mng files
QMovie cpu usage up to 100%
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/imageformats/gif/qgifhandler.cpp | 2 | ||||
-rw-r--r-- | src/plugins/imageformats/mng/qmnghandler.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/imageformats/gif/qgifhandler.cpp b/src/plugins/imageformats/gif/qgifhandler.cpp index 25d3dfa..56dac52 100644 --- a/src/plugins/imageformats/gif/qgifhandler.cpp +++ b/src/plugins/imageformats/gif/qgifhandler.cpp @@ -1026,7 +1026,7 @@ inline QRgb QGIFFormat::color(uchar index) const QGifHandler::QGifHandler() { gifFormat = new QGIFFormat; - nextDelay = 0; + nextDelay = 100; loopCnt = 1; frameNumber = -1; scanIsCached = false; diff --git a/src/plugins/imageformats/mng/qmnghandler.cpp b/src/plugins/imageformats/mng/qmnghandler.cpp index d408e6c..9dbb885 100644 --- a/src/plugins/imageformats/mng/qmnghandler.cpp +++ b/src/plugins/imageformats/mng/qmnghandler.cpp @@ -271,7 +271,6 @@ bool QMngHandlerPrivate::getNextImage(QImage *result) } if ((MNG_NOERROR == ret) || (MNG_NEEDTIMERWAIT == ret)) { *result = image; - image.fill(0); frameIndex = nextIndex++; if (haveReadAll && (frameCount == 0)) frameCount = nextIndex; |