Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.0.0
-
None
-
Ubuntu 11.04 X86 32-bit
Description
When deleteLater() is called to QMediaPlayer object from a slot attached to the player's mediaStatusChanged signal the player is not deleted next time the event loop spins.
The attached test case added to qtmultimedia/tests/auto/integration/qmediaplayerbackend reproduces the problem.
This issue has the same root cause as https://bugreports.qt-project.org/browse/QTBUG-18434. The QMediaPlayer::mediaStatusChanged signal is eventually emitted directly from a GStreamer/GLib message callback, not from Qt event loop.
Attachments
For Gerrit Dashboard: QTBUG-24927 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
21070,3 | Deliver GStreamer signals through Qt event loop | master | qt/qtmultimedia | Status: MERGED | +2 | 0 |
21071,5 | Add deleteLater() test to tst_qmediaplayerbackend | master | qt/qtmultimedia | Status: MERGED | +2 | 0 |