Add durationPerFrame to Frameset and getFrameBoundsAt method

This commit is contained in:
vkay94
2021-01-14 20:01:06 +01:00
parent fae67fbd45
commit 11dcfe638b
3 changed files with 51 additions and 2 deletions

View File

@@ -338,6 +338,8 @@ public abstract class DefaultStreamExtractorTest extends DefaultExtractorTest<St
assertIsValidUrl(url);
assertIsSecureUrl(url);
}
assertTrue(f.getDurationPerFrame() > 0);
assertEquals(f.getFrameBoundsAt(0)[3], f.getFrameWidth());
}
} else {
assertTrue(frames.isEmpty());