On Tue, 11 May 2021 23:43:36 GMT, Alexander Matveev <almat...@openjdk.org> 
wrote:

> For indefinite durations CMTimeGetSeconds was returning NaN (not-a-number 
> double value) and our code expects -1.0. Based on doc we should be using 
> CMTIME_IS_INDEFINITE to test if duration is indefinite. Fixed by using 
> CMTIME_IS_INDEFINITE to test if duration is indefinite and if true -1.0 will 
> be return to our Java layer.

This pull request has now been integrated.

Changeset: c511789b
Author:    Alexander Matveev <almat...@openjdk.org>
URL:       
https://git.openjdk.java.net/jfx/commit/c511789b106a3f3172aef606419d372bcbca606f
Stats:     5 lines in 1 file changed: 3 ins; 0 del; 2 mod

8266860: [macos] Incorrect duration reported for HLS live streams

Reviewed-by: kcr

-------------

PR: https://git.openjdk.java.net/jfx/pull/495

Reply via email to