Fix a typo.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user