Summary: | [GStreamer] HTTP totalBytes query returns 0 after seeking (sometimes) | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Philippe Normand <pnormand> | ||||
Component: | Platform | Assignee: | Philippe Normand <pnormand> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | calvaris, eocanha, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | Other | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Philippe Normand
2018-02-21 07:31:01 PST
Created attachment 334375 [details]
Patch
Comment on attachment 334375 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=334375&action=review Apart from the nitpick below, I don't see anything wrong with the patch. > Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:86 > + gboolean haveSize; This attribute is only for internal usage and doesn't interact with Glib. Why not using a C++ bool type, like for "paused" or "isSeeking"? Comment on attachment 334375 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=334375&action=review >> Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:86 >> + gboolean haveSize; > > This attribute is only for internal usage and doesn't interact with Glib. Why not using a C++ bool type, like for "paused" or "isSeeking"? I was going to mention exactly the same thing :) Committed r228945: <https://trac.webkit.org/changeset/228945> |