disable keyframe index

This commit is contained in:
j 2021-06-14 10:47:47 +01:00
parent 47e4f1cd84
commit feb10ececb

View file

@ -365,8 +365,8 @@ class File(models.Model):
self.info.update(stream.info)
self.parse_info()
self.save()
if stream.info.get('video'):
extract.make_keyframe_index(stream.media.path)
#if stream.info.get('video'):
# extract.make_keyframe_index(stream.media.path)
return True, stream.media.size
return save_chunk(stream, stream.media, chunk, offset, name, done_cb)
return False, 0