File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -280,12 +280,15 @@ def testMultipleOffsetFromSameInputFile():
280
280
src_inputFile = av .InputFile ( inputFileName )
281
281
src_properties = src_inputFile .getProperties ()
282
282
src_videoStream = src_properties .getVideoProperties ()[0 ]
283
+ src_audioStream = src_properties .getAudioProperties ()[0 ]
283
284
284
285
# get dst file
285
286
dst_inputFile = av .InputFile ( outputFileName )
286
287
dst_properties = dst_inputFile .getProperties ()
287
288
dst_videoStream = dst_properties .getVideoProperties ()[0 ]
289
+ dst_audioStream = dst_properties .getAudioProperties ()[0 ]
288
290
289
291
# check output duration
290
292
assert_equals ( src_videoStream .getDuration () + offset_1 , dst_videoStream .getDuration () )
293
+ assert_equals ( src_audioStream .getDuration () + offset_1 , dst_audioStream .getDuration () )
291
294
You can’t perform that action at this time.
0 commit comments