Skip to content

Commit 25500d2

Browse files
author
Clement Champetier
committed
pyTest: updated testInputFileAnalyseFirstGop
1 parent 8ae3d4d commit 25500d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/pyTest/testInputFile.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def testInputFileAnalyseFirstGop():
3131
videoProperties = inputFile.getProperties().getVideoProperties()[0]
3232
assert_equals(videoProperties.isInterlaced(), False)
3333
assert_equals(videoProperties.isTopFieldFirst(), False)
34+
assert_equals(videoProperties.getGopSize(), 0)
3435
assert_equals(videoProperties.getGopStructure(), ())
3536

3637
# Analyse first GOP
@@ -39,4 +40,5 @@ def testInputFileAnalyseFirstGop():
3940

4041
# Check properties after GOP analysis
4142
videoProperties = inputFile.getProperties().getVideoProperties()[0]
43+
assert_greater(videoProperties.getGopSize(), 0)
4244
assert_not_equals(videoProperties.getGopStructure(), ())

0 commit comments

Comments
 (0)