WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
138425
[GStreamer] the webkitwebsrc element can stale
https://bugs.webkit.org/show_bug.cgi?id=138425
Summary
[GStreamer] the webkitwebsrc element can stale
Xavier Claessens
Reported
2014-11-05 08:54:05 PST
When hlsdemux downloads next fragments, it will change source's state from PAUSE to READY, then change its uri, and change state back from READY to PAUSE. That state change is catched in WebKitWebSourceGStreamer::webKitWebSrcChangeState(). That sequence of events can happen: 1) pause->ready state change, priv->stopID is set to an idle cb ID that will call webKitWebSrcStop in main thread. 2) ready->pause state change, priv->startID is set to an idle cb ID that will call webKitWebSrcStart in main thread. 3) the main thread runs webKitWebSrcStop() that calls removeTimeoutSources() which remove priv->startID source. And now webKitWebSrcStart will never be called, so it won't download anything. So that happens when webkitwebsrc's state transition pause->ready->pause quickly.
Attachments
Proposed patch
(2.36 KB, patch)
2014-11-07 07:50 PST
,
Xavier Claessens
no flags
Details
Formatted Diff
Diff
patch
(2.94 KB, patch)
2014-12-11 13:54 PST
,
Xavier Claessens
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Xavier Claessens
Comment 1
2014-11-05 08:54:40 PST
Note that shen souphttpsrc is used, it works correctly.
Xavier Claessens
Comment 2
2014-11-07 07:50:14 PST
Created
attachment 241179
[details]
Proposed patch I'm not sure what's the procedure to properly propose patches, but this one fix the issue for me.
Philippe Normand
Comment 3
2014-11-18 08:41:41 PST
You can find the contributor guidelines there:
http://www.webkit.org/coding/contributing.html
Xavier Claessens
Comment 4
2014-12-11 13:54:25 PST
Created
attachment 243145
[details]
patch Patch updated to latest webkit master, with changelog. Is that all needed to get it reviewed?
Philippe Normand
Comment 5
2014-12-15 07:02:15 PST
Comment on
attachment 243145
[details]
patch Thanks!
WebKit Commit Bot
Comment 6
2014-12-15 07:37:23 PST
Comment on
attachment 243145
[details]
patch Clearing flags on attachment: 243145 Committed
r177279
: <
http://trac.webkit.org/changeset/177279
>
WebKit Commit Bot
Comment 7
2014-12-15 07:37:26 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug