reset video fps/codec

This commit is contained in:
j 2017-05-21 11:35:54 +02:00
commit 8bd4cd6305
2 changed files with 2 additions and 1 deletions

View file

@ -138,6 +138,8 @@ class File(models.Model):
else:
self.is_video = False
self.display_aspect_ratio = "4:3"
self.framerate = ''
self.video_codec = ''
self.width = 0
self.height = 0
if 'audio' in self.info and self.info['audio'] and self.duration > 0: