Hi, QMediaPlayer::setMedia() is an asynchronous operation. The media is not done loading when you call mediaPlayer->metaData(). You need to listen to the metaDataAvailableChanged() signal to be notified whenever the metadata is available. See http://qt-project.org/doc/qt-5.0/qtmultimedia/qmediaobject.html#metaDataAvailableChanged
Yoann Lopes Senior Software Engineer - Digia, Qt Visit us on: http://qt.digia.com _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
