Changeset 58246 in webkit
- Timestamp:
- Apr 26, 2010 4:32:09 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r58243 r58246 1 2010-04-26 Andreas Kling <andreas.kling@nokia.com> 2 3 Reviewed by Tor Arne Vestbø. 4 5 [Qt] Fix compilation against Qt 4.7 6 7 Some QtMultimedia things have been moved into QtMediaServices 8 https://bugs.webkit.org/show_bug.cgi?id=38111 9 10 * WebCore.pro: 11 * platform/graphics/qt/MediaPlayerPrivateQt.cpp: 12 (WebCore::MediaPlayerPrivate::supportsType): 13 (WebCore::MediaPlayerPrivate::totalBytes): 14 1 15 2010-04-26 Zoltan Herczeg <zherczeg@webkit.org> 2 16 -
trunk/WebCore/WebCore.pro
r58236 r58246 2399 2399 SOURCES += platform/graphics/qt/MediaPlayerPrivateQt.cpp 2400 2400 2401 tobe|!tobe: QT += multimedia 2401 tobe|!tobe: QT += multimedia mediaservices 2402 2402 } else { 2403 2403 HEADERS += \ -
trunk/WebCore/platform/graphics/qt/MediaPlayerPrivateQt.cpp
r56825 r58246 78 78 return MediaPlayer::IsNotSupported; 79 79 80 if (QMediaPlayer::hasSupport(mime, QStringList(codec)) >= QtM ultimedia::ProbablySupported)80 if (QMediaPlayer::hasSupport(mime, QStringList(codec)) >= QtMediaServices::ProbablySupported) 81 81 return MediaPlayer::IsSupported; 82 82 … … 345 345 unsigned MediaPlayerPrivate::totalBytes() const 346 346 { 347 if (m_mediaPlayer->availableMetaData().contains(QtM ultimedia::Size))348 return m_mediaPlayer->metaData(QtM ultimedia::Size).toInt();347 if (m_mediaPlayer->availableMetaData().contains(QtMediaServices::Size)) 348 return m_mediaPlayer->metaData(QtMediaServices::Size).toInt(); 349 349 350 350 return 100;
Note: See TracChangeset
for help on using the changeset viewer.