Unresolved error code 80040266 when play mp3 with Qmediaplayer



  • Please help me when I try to play mp3 file with qmediaplayer I got this error

    8004B200 DirectShowPlayerService::doRender: Unresolved error code 80040266
    

    I don't know why this it works fine on any other type of mp3s why this file exactly not work ??!!!!!!!
    it works fine with any other player like windows player or MPC-HC
    any player it works fine ?
    this my code !

    void MainWindow::on_pushButton_Play_clicked()
    {
        QString mp3 = QFileDialog::getOpenFileName();
        QMediaPlayer *player = new QMediaPlayer();
        player->setMedia(QUrl::fromLocalFile(mp3));
        player->play();
    }
    

    please if you want me to upload the mp3 it's a small file please help me
    Note
    iam using qt 5.6.1 Mingw
    windows 10
    Thanks


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.