Skip to content

Commit f56b7d1

Browse files
author
Clement Champetier
committed
pyTest: updated testInputFileAnalyseFirstGop
1 parent b4cd1aa commit f56b7d1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/pyTest/testInputFile.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,8 @@ def testInputFileAnalyseFirstGop():
4242
videoProperties = inputFile.getProperties().getVideoProperties()[0]
4343
assert_greater(videoProperties.getGopSize(), 0)
4444
assert_not_equals(videoProperties.getGopStructure(), ())
45+
for image in videoProperties.getGopStructure():
46+
pictureType = image[0]
47+
encodedPictureSize = image[1]
48+
assert_in(pictureType, ['I', 'P', 'B'])
49+
assert_greater(encodedPictureSize, 0)

0 commit comments

Comments
 (0)