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

2021-08-19 Thread Ambarish Rapte
On Thu, 19 Aug 2021 12:52:21 GMT, Ambarish Rapte wrote: > This is clean backport. > Tested the patch in a > [branch](https://github.com/arapte/jfx11u/tree/cherry-pick). > Backports tested in above branch are : > [JDK-8264737](https://bugs.openjdk.java.net/browse/JDK-8264737), > [JDK-8266860](h

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

2021-05-17 Thread Alexander Matveev
On Tue, 11 May 2021 23:43:36 GMT, Alexander Matveev 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_I