Changeset 209796 in webkit
- Timestamp:
- Dec 14, 2016 2:36:32 AM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r209794 r209796 1 2016-12-14 Enrique Ocaña González <eocanha@igalia.com> 2 3 [GStreamer][MSE] Fix player private selection when MSE is enabled 4 https://bugs.webkit.org/show_bug.cgi?id=164116 5 6 Reviewed by Philippe Normand. 7 8 Covered by existing tests. 9 10 * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: 11 (WebCore::MediaPlayerPrivateGStreamer::load): 12 * platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp: 13 (WebCore::MediaPlayerPrivateGStreamerMSE::load): 14 1 15 2016-12-13 Commit Queue <commit-queue@webkit.org> 2 16 -
trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
r208096 r209796 273 273 void MediaPlayerPrivateGStreamer::load(const String&, MediaSourcePrivateClient*) 274 274 { 275 notImplemented(); 275 // Properly fail so the global MediaPlayer tries to fallback to the next MediaPlayerPrivate. 276 m_networkState = MediaPlayer::FormatError; 277 m_player->networkStateChanged(); 276 278 } 277 279 #endif -
trunk/Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp
r207956 r209796 126 126 void MediaPlayerPrivateGStreamerMSE::load(const String& urlString) 127 127 { 128 if (!urlString.startsWith("mediasource")) { 129 // Properly fail so the global MediaPlayer tries to fallback to the next MediaPlayerPrivate. 130 m_networkState = MediaPlayer::FormatError; 131 m_player->networkStateChanged(); 132 return; 133 } 134 128 135 if (UNLIKELY(!initializeGStreamerAndRegisterWebKitMSEElement())) 129 136 return; 130 131 if (!urlString.startsWith("mediasource")) {132 GST_ERROR("Unsupported url: %s", urlString.utf8().data());133 return;134 }135 137 136 138 if (!m_playbackPipeline)
Note: See TracChangeset
for help on using the changeset viewer.