RESOLVED FIXED 35891
[GStreamer] Fails to go to Loaded state because of floating point discrepancies
https://bugs.webkit.org/show_bug.cgi?id=35891
Summary [GStreamer] Fails to go to Loaded state because of floating point discrepancies
Gustavo Noronha (kov)
Reported 2010-03-08 15:37:13 PST
Watching debug logs I noticed that maxTimeLoaded was getting very close to, but not exactly equal to duration. I think we need to stop relying on the floating point calculations for the 'completed' case.
Attachments
try to avoid the floating point comparison by using the fill status variable (2.16 KB, patch)
2010-03-08 15:40 PST, Gustavo Noronha (kov)
gustavo: commit-queue-
Gustavo Noronha (kov)
Comment 1 2010-03-08 15:40:05 PST
Created attachment 50261 [details] try to avoid the floating point comparison by using the fill status variable
Philippe Normand
Comment 2 2010-03-09 00:05:12 PST
LGTM!
Eric Seidel (no email)
Comment 3 2010-03-24 14:32:34 PDT
Attachment 50261 [details] was posted by a committer and has review+, assigning to Gustavo Noronha Silva for commit.
Gustavo Noronha (kov)
Comment 4 2010-03-24 16:02:37 PDT
Comment on attachment 50261 [details] try to avoid the floating point comparison by using the fill status variable Finally got this committed as r56465. Thanks!
Note You need to log in before you can comment on or make changes to this bug.