RESOLVED FIXED 178079
[GStreamer] Fix double seek requested by downloadbuffer GStreamer element in webkibwebsrc
https://bugs.webkit.org/show_bug.cgi?id=178079
Summary [GStreamer] Fix double seek requested by downloadbuffer GStreamer element in ...
Xabier Rodríguez Calvar
Reported 2017-10-09 04:54:33 PDT
[GStreamer] Fix double seek requested by downloadbuffer GStreamer element in webkibwebsrc
Attachments
Patch (2.36 KB, patch)
2017-10-09 05:01 PDT, Xabier Rodríguez Calvar
no flags
Patch for landing (2.36 KB, patch)
2017-10-10 22:09 PDT, Xabier Rodríguez Calvar
no flags
Xabier Rodríguez Calvar
Comment 1 2017-10-09 05:01:01 PDT
Zan Dobersek
Comment 2 2017-10-10 03:53:57 PDT
Comment on attachment 323169 [details] Patch r=me if Quique approves.
Enrique Ocaña
Comment 3 2017-10-10 05:42:40 PDT
Comment on attachment 323169 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=323169&action=review > Source/WebCore/ChangeLog:11 > + downloadbuffer element to seek bejond the file size, which causes "beyond" O:-) > Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:381 > + priv->seekable = FALSE; This change makes sense when webKitWebSrcStop() is called from https://github.com/WebKit/webkit/blob/f0e46ed/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp#L743 , but I was worried about what would happen when it's called from any of the other places which legitimate want to stop the element because of an error. However, after cheching all those places, they either can only happen before seeking is even possible (initial access control check, invalid url, change to GST_STATE_READY) or because of recoverable seek errors. Therefore there's no danger in this change and I support it.
Xabier Rodríguez Calvar
Comment 4 2017-10-10 22:09:24 PDT
Created attachment 323385 [details] Patch for landing
WebKit Commit Bot
Comment 5 2017-10-10 22:48:51 PDT
Comment on attachment 323385 [details] Patch for landing Clearing flags on attachment: 323385 Committed r223168: <http://trac.webkit.org/changeset/223168>
WebKit Commit Bot
Comment 6 2017-10-10 22:48:52 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 7 2017-10-10 22:50:05 PDT
Note You need to log in before you can comment on or make changes to this bug.