Skip to content

Commit fb0d7c1

Browse files
Fix Ffmpeg 7.1 regression
1 parent 12d5562 commit fb0d7c1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/test/java/com/github/stickerifier/stickerify/media/MediaHelperTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ void convertShortAndLowFpsVideo() throws Exception {
188188
var webmVideo = loadResource("short_low_fps.webm");
189189
var result = MediaHelper.convert(webmVideo);
190190

191-
assertVideoConsistency(result, 512, 288, 10F, 1_000L);
191+
assertVideoConsistency(result, 512, 288, 10F, 900L);
192192
}
193193

194194
@Test
@@ -204,15 +204,15 @@ void convertVerticalWebmVideo() throws Exception {
204204
var webmVideo = loadResource("vertical_video_sticker.webm");
205205
var result = MediaHelper.convert(webmVideo);
206206

207-
assertVideoConsistency(result, 288, 512, 30F, 2_000L);
207+
assertVideoConsistency(result, 288, 512, 30F, 1_970L);
208208
}
209209

210210
@Test
211211
void convertGifVideo() throws Exception {
212212
var gifVideo = loadResource("valid.gif");
213213
var result = MediaHelper.convert(gifVideo);
214214

215-
assertVideoConsistency(result, 512, 274, 10F, 1_000L);
215+
assertVideoConsistency(result, 512, 274, 10F, 900L);
216216
}
217217

218218
@Test

0 commit comments

Comments
 (0)