Phonon::VideoWidget not working in Qt 4.4
Posted
by user249490
on Stack Overflow
See other posts from Stack Overflow
or by user249490
Published on 2010-03-17T09:48:43Z
Indexed on
2010/03/17
9:51 UTC
Read the original article
Hit count: 480
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?
© Stack Overflow or respective owner