@@ -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,23 +204,23 @@ 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
219219 void convertAviVideo () throws Exception {
220220 var aviVideo = loadResource ("valid.avi" );
221221 var result = MediaHelper .convert (aviVideo );
222222
223- assertVideoConsistency (result , 512 , 512 , 30F , 3_000L );
223+ assertVideoConsistency (result , 512 , 512 , 30F , 2_970L );
224224 }
225225
226226 @ Test
0 commit comments