Bug 264398

Summary: [GStreamer] Always stop stream on EOS with Playbin3
Product: WebKit Reporter: Marek Vasut <marex+webkit>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: philn, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Other   
OS: Linux   

Description Marek Vasut 2023-11-08 03:51:52 PST
With playbin3, when playing video in a loop using HTML5 video element, the Gstreamer debug log sometimes contains the following message, which prevents the WPE from correctly stopping the playback before restarting it for the next loop and the playback ends up paused forever:

"
webkitmediaplayer MediaPlayerPrivateGStreamer.cpp:1851:handleMessage:<video-1> EOS received but position {23823333333/1000000000 = 23.823333333} is still in the finite playable limits [{0/1 = 0}, {23828333333/1000000000 = 23.828333333}], ignoring it
"
Comment 1 Marek Vasut 2023-11-08 04:10:34 PST
PR https://github.com/WebKit/WebKit/pull/20157
Comment 2 EWS 2023-11-11 07:22:12 PST
Committed 270593@main (76bc3f4aa793): <https://commits.webkit.org/270593@main>

Reviewed commits have been landed. Closing PR #20157 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-11-11 07:23:14 PST
<rdar://problem/118274199>