Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GStreamer] HTTP totalBytes query returns 0 after seeking (sometimes)
https://bugs.webkit.org/show_bug.cgi?id=183002 Reviewed by Xabier Rodriguez-Calvar. * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp: (webkit_web_src_init): Initialize member variables. Also no need to set the appsrc size at that point. (webKitWebSrcStop): There is no need to reset the size when seeking. Size should in most cases represent the Content-Length response attribute, even when seeking. (webKitWebSrcStart): No need to reset the size attribute. (webKitWebSrcQueryWithParent): Let appsrc handle DURATION queries. (CachedResourceStreamingClient::responseReceived): Emit duration notification one time only. Canonical link: https://commits.webkit.org/198812@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@228945 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
2 changed files
with
29 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters