Bug 182433 - Fix bug in MediaTime comparison for negative values with different scale.
Summary: Fix bug in MediaTime comparison for negative values with different scale.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-02-02 07:44 PST by Alicia Boya García
Modified: 2018-02-05 01:15 PST (History)
5 users (show)

See Also:


Attachments
Patch (3.48 KB, patch)
2018-02-02 07:58 PST, Alicia Boya García
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alicia Boya García 2018-02-02 07:44:53 PST
Currently comparisons like MediaTime(-8, 10) >= MediaTime(-1, 1) return false, incorrectly as -0.8 >= -1.0.
Comment 1 Alicia Boya García 2018-02-02 07:58:03 PST
Created attachment 332967 [details]
Patch
Comment 2 WebKit Commit Bot 2018-02-05 01:14:14 PST
Comment on attachment 332967 [details]
Patch

Clearing flags on attachment: 332967

Committed r228089: <https://trac.webkit.org/changeset/228089>
Comment 3 WebKit Commit Bot 2018-02-05 01:14:15 PST
All reviewed patches have been landed.  Closing bug.
Comment 4 Radar WebKit Bug Importer 2018-02-05 01:15:32 PST
<rdar://problem/37228586>