followup to ba5e4af355 - create keyframe index as part of creating stream

This commit is contained in:
j 2018-08-10 09:11:40 +01:00
commit 8584632555
3 changed files with 40 additions and 41 deletions

View file

@ -370,6 +370,7 @@ class File(models.Model):
self.info.update(stream.info)
self.parse_info()
self.save()
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