forked from 0x2620/pandora
disable keyframe index
This commit is contained in:
parent
47e4f1cd84
commit
feb10ececb
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue