Changeset 88318 in webkit
- Timestamp:
- Jun 7, 2011 7:44:35 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r88315 r88318 1 2011-06-07 Yi Shen <yi.4.shen@nokia.com> 2 3 Reviewed by Simon Hausmann. 4 5 [Qt] Fix the error code for media resource failures when using QtMobility 6 https://bugs.webkit.org/show_bug.cgi?id=55901 7 8 Unskip the tests which are now passing. 9 10 * platform/qt/Skipped: 11 1 12 2011-06-07 Gavin Barraclough <barraclough@apple.com> 2 13 -
trunk/LayoutTests/platform/qt/Skipped
r88201 r88318 586 586 media/video-element-other-namespace-crash.html 587 587 media/video-empty-source.html 588 media/video-error-does-not-exist.html589 588 media/video-layer-crash.html 590 589 media/video-load-networkState.html … … 608 607 media/video-source-type.html 609 608 media/video-source-type-params.html 610 media/video-src-change.html611 media/video-src-invalid-remove.html612 media/video-src-none.html613 media/video-src-plus-source.html614 609 media/video-timeupdate-during-playback.html 615 610 media/video-timeupdate-reverse-play.html -
trunk/Source/WebCore/ChangeLog
r88317 r88318 1 2011-06-07 Yi Shen <yi.4.shen@nokia.com> 2 3 Reviewed by Simon Hausmann. 4 5 [Qt] Fix the error code for media resource failures when using QtMobility 6 https://bugs.webkit.org/show_bug.cgi?id=55901 7 8 To indicate the media resource failures, set the network state to 9 MediaPlayer::FormatError when receives QMediaPlayer::InvalidMedia or 10 QMediaPlayer::ResourceError. 11 12 * platform/graphics/qt/MediaPlayerPrivateQt.cpp: 13 (WebCore::MediaPlayerPrivateQt::updateStates): 14 1 15 2011-06-07 Emil A Eklund <eae@chromium.org> 2 16 -
trunk/Source/WebCore/platform/graphics/qt/MediaPlayerPrivateQt.cpp
r86451 r88318 491 491 if (currentError != QMediaPlayer::NoError) { 492 492 m_readyState = MediaPlayer::HaveNothing; 493 if (currentError == QMediaPlayer::FormatError )493 if (currentError == QMediaPlayer::FormatError || currentError == QMediaPlayer::ResourceError) 494 494 m_networkState = MediaPlayer::FormatError; 495 495 else … … 516 516 m_readyState = MediaPlayer::HaveEnoughData; 517 517 } else if (currentStatus == QMediaPlayer::InvalidMedia) { 518 m_networkState = MediaPlayer:: NetworkError;518 m_networkState = MediaPlayer::FormatError; 519 519 m_readyState = MediaPlayer::HaveNothing; 520 520 }
Note: See TracChangeset
for help on using the changeset viewer.