[Interest] Audio Metadata issue in Qt5.2.x
Lopes Yoann
Yoann.Lopes at digia.com
Thu Oct 17 16:17:01 CEST 2013
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
More information about the Interest
mailing list