PDA

View Full Version : Unresolved error code while trying to play a video



carobnodrvo
17th July 2016, 22:55
I am trying to play video (it's large video ~20GB) and sometimes I am getting this error message:

DirectShowPlayerService::doRender: Unresolved error code 0x80040266 (IDispatch error #102)

And here is the code I'm using:


QMediaPlayer* player = new QMediaPlayer;
player->setMedia(QUrl::fromLocalFile("mes.avi"));


QVideoWidget* videoWidget = new QVideoWidget;
player->setVideoOutput(videoWidget);
videoWidget->show();


player->play();

I think this is some specific message since google don't help me in this case.

Does someone have an idea what this could be?