diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-06-08 15:06:37 (GMT) |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-07-07 15:58:15 (GMT) |
commit | 12f56ae9006b75e37365022065b786830b4a3038 (patch) | |
tree | e7477ce5e79081cfd48e0bd2fbfbc6ed28af899c /header.LGPL-ONLY | |
parent | a1c7b42e8b67e935fe30310af49524a25fa631fc (diff) | |
download | Qt-12f56ae9006b75e37365022065b786830b4a3038.zip Qt-12f56ae9006b75e37365022065b786830b4a3038.tar.gz Qt-12f56ae9006b75e37365022065b786830b4a3038.tar.bz2 |
Fixed crash which occurs when switching between video clips
When Phonon::MediaObject::setCurrentSource() is called when the
MediaObject is connected to a Phonon::VideoWidget, the
MMF::AbstractVideoOutput pointer is propagated inside the backend
from the first MMF::AbstractVideoPlayer to the second.
If the VideoWidget is subsquently re-sized, the code path enters
the ScaleFactors branch of the
MMF::SurfaceVideoPlayer::handleParametersChanged function. At this
point, m_displayWindow is still set to the inital null value, and the
assertion therefore fails.
This change ensures that m_displayWindow is updated before attempting
to apply the scale factor change.
Task-number: QTBUG-11377
Reviewed-by: Thierry Bastian
Diffstat (limited to 'header.LGPL-ONLY')
0 files changed, 0 insertions, 0 deletions