Changeset 261680 in webkit
- Timestamp:
- May 14, 2020 1:26:57 AM (4 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r261679 r261680 1 2020-05-14 Philippe Normand <pnormand@igalia.com> 2 3 [GStreamer] Can't replay blob videos in web.whatsapp.com 4 https://bugs.webkit.org/show_bug.cgi?id=192540 5 6 Reviewed by Xabier Rodriguez-Calvar. 7 8 This is a variant of bug 211627 but I could reproduce it only for videos. Unfortunately I 9 wasn't able to write a reliable test for this. 10 11 * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: 12 (WebCore::MediaPlayerPrivateGStreamer::updateBufferingStatus): Prevent the fill timer from 13 running forever after buffering completed. 14 * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp: 15 (webKitWebSrcMakeRequest): Don't buffer blobs, this doesn't seem useful as they're already 16 in memory anyway. 17 1 18 2020-05-06 Sergio Villar Senin <svillar@igalia.com> 2 19 -
trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
r261550 r261680 2120 2120 if (!m_didDownloadFinish) 2121 2121 m_isBuffering = true; 2122 else 2123 m_fillTimer.stop(); 2122 2124 2123 2125 m_bufferingPercentage = percentage; -
trunk/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp
r261597 r261680 698 698 699 699 PlatformMediaResourceLoader::LoadOptions loadOptions = 0; 700 if (request.url().protocolIsBlob())701 loadOptions |= PlatformMediaResourceLoader::LoadOption::BufferData;702 700 members->resource = members->loader->requestResource(ResourceRequest(request), loadOptions); 703 701 if (members->resource) {
Note: See TracChangeset
for help on using the changeset viewer.