Changeset 162540 in webkit
- Timestamp:
- Jan 22, 2014 11:24:20 AM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r162538 r162540 1 2014-01-22 Jer Noble <jer.noble@apple.com> 2 3 [Mac] MediaPlayerPrivateMediaSourceAVFObjC::load ASSERTs on lots of tests 4 https://bugs.webkit.org/show_bug.cgi?id=127430 5 6 Reviewed by Eric Carlson. 7 8 When other registered media engines cannot load a URL, the engine selection 9 will eventually pick MediaPlayerPrivateMediaSourceAVFObjC and ask it to load 10 the URL. Instead of ASSERTing here, simply reject the URL by setting the 11 network state to FormatError. 12 13 * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm: 14 (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::load): 15 1 16 2014-01-22 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org> 2 17 -
trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm
r161987 r162540 222 222 void MediaPlayerPrivateMediaSourceAVFObjC::load(const String&) 223 223 { 224 ASSERT_NOT_REACHED(); 224 // This media engine only supports MediaSource URLs. 225 m_networkState = MediaPlayer::FormatError; 226 m_player->networkStateChanged(); 225 227 } 226 228
Note: See TracChangeset
for help on using the changeset viewer.