diff options
author | Albert Astals Cid <albert.astals.cid@kdab.com> | 2017-06-08 16:55:25 +0200 |
---|---|---|
committer | Albert Astals Cid <albert.astals.cid@kdab.com> | 2017-06-16 15:17:23 +0000 |
commit | b934cf056e3875a13af48eefe519cffe1332cde2 (patch) | |
tree | f6454aacaa40ea36f56cb227cd564deccd6d000c /dist/changes-5.9.1 | |
parent | 19a5884e8d6bfa9d3bdfce359ce39deef4c48110 (diff) |
Prevent m_runningCount from eventually overflowing
When m_loopCount is Infinite (i.e. -1) m_runningCount would go from -2
and down, eventuall wrapping and reaching 0 and thus stopping.
This is a theorical problem since even if we had a 1 second video it would
take lots of years to trigger but i guess it's better than
having the value of m_runningCount be unbounded
Change-Id: I340ec2157ece3334e58ab4afd77c34b478a256e9
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
Diffstat (limited to 'dist/changes-5.9.1')
0 files changed, 0 insertions, 0 deletions