File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -48,9 +48,12 @@ def checkStream(src_stream, dst_stream):
48
48
def checkVideoStat (src_videoStream , dst_videoStat ):
49
49
"""
50
50
Check the values of the video process stats returned after a process.
51
+ @note Because the process does not include a profile with "processStat", output quality and PSNR are not set.
51
52
"""
52
- assert_equals (src_videoStream .getDuration (), dst_videoStat .getDuration ())
53
- assert_equals (int (src_videoStream .getDuration () * src_videoStream .getFps ()), dst_videoStat .getNbFrames ())
53
+ assert_equals (dst_videoStat .getDuration (), src_videoStream .getDuration ())
54
+ assert_equals (dst_videoStat .getNbFrames (), int (src_videoStream .getDuration () * src_videoStream .getFps ()))
55
+ assert_equals (dst_videoStat .getQuality (), 0 )
56
+ assert_equals (dst_videoStat .getPSNR (), 0 )
54
57
55
58
56
59
def testRewrapAudioStream ():
You can’t perform that action at this time.
0 commit comments