Qt4: embedded video can still crash when exiting
The Qt4 thread destroys stuff which is used by the video window provider with insufficient synchronization (yes, the eternal same bug). This occurs when app.exec() returns.
See also https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/448082