diff options
Diffstat (limited to 'tests/python')
-rwxr-xr-x | tests/python/ffmpeg_tests.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/python/ffmpeg_tests.py b/tests/python/ffmpeg_tests.py index d6e7127c35a..92734b5bc7d 100755 --- a/tests/python/ffmpeg_tests.py +++ b/tests/python/ffmpeg_tests.py @@ -86,6 +86,15 @@ class FPSDetectionTest(AbstractFFmpegSequencerTest): 1.0, places=2) + def test_T68091(self): + self.assertAlmostEqual( + self.get_movie_file_fps('T68091-invalid-nb_frames-at-10fps.mp4'), + 10.0, + places=2) + self.assertEqual( + self.get_movie_file_duration('T68091-invalid-nb_frames-at-10fps.mp4'), + 10) + def test_T54834(self): self.assertEqual( self.get_movie_file_duration('T54834.ogg'), |