Fix a typo.

This commit is contained in:
Frédéric Tronel
2023-12-02 20:56:49 +01:00
parent 44d47a564c
commit b4e304d9ab

View File

@@ -262,7 +262,7 @@ def getFramesInStream(inputFile, begin, end, streamKind, subStreamId=0):
else: else:
logger.error('Impossible to find timestamp of frame %s' % frame) logger.error('Impossible to find timestamp of frame %s' % frame)
return None return None
ts = timedelta(seconds=pts_time)) ts = timedelta(seconds=pts_time)
if begin <= ts and ts <= end: if begin <= ts and ts <= end:
res.append(frame) res.append(frame)
return res return res