View Full Version : Qt4.7.0 Phonon module slows down my app

17th April 2012, 23:49
I have a simple code, that uses everybody...

Phonon::VideoWidget *vWidget = new Phonon::VideoWidget();
mediaObject = new Phonon::MediaObject(this);
Phonon::createPath(mediaObject, vWidget);
vWidget->setAspectRatio(Phonon::VideoWidget::AspectRatioAut o);
audioOutput = new Phonon::AudioOutput(Phonon::VideoCategory, this);
Phonon::createPath(mediaObject, audioOutput);

My problem is, that the third line (Phonon::createPath(mediaObject, vWidget)) takes about 5 seconds. Without it, my window shows immediately. But it is needed of course.
Is there any solution, how to speed up this?

20th April 2012, 13:21
please...nobody knows?

20th April 2012, 14:06
You probably have a really large collection of codecs installed in your system. Uninstalling some of those might help.