Bug 264398 - [GStreamer] Always stop stream on EOS with Playbin3
Summary: [GStreamer] Always stop stream on EOS with Playbin3
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Other Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-08 03:51 PST by Marek Vasut
Modified: 2023-11-11 07:23 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>