Phonon::VideoWidget not working in Qt 4.4
- by user249490
Hi,
I have Phonon::VideoWidget, Phonon::MediaObject and Phonon::MediaSource, all initialized as below.
videoWidget=new Phonon::VideoWidget(this);
mediaVideoObject=new Phonon::MediaObject(this);
Phonon::createPath(mediaVideoObject, videoWidget);
Phonon::MediaSource mediaSource= Phonon::MediaSource("D:\\file.avi");
mediaVideoObject->setCurrentSource(mediaSource);
and all connections laid for Play, Pause, Next, Previous. It is working for few videos while for some other it is throwing IDispatch error #24 (0x80040218) and error type as Fatal. I am using Qt4.4 in windows XP and has backend support as well. I have to play those videos which are throwing the above mentioned error. What might be the reason and how i can overcome the error?