default flags

This commit is contained in:
j 2019-11-02 08:32:49 +01:00
parent 551ffc5c86
commit 05b7fc1f7e

View file

@ -523,7 +523,7 @@ class File(models.Model):
n += 1 n += 1
profile = '%sp.%s' % (resolution, config['formats'][0]) profile = '%sp.%s' % (resolution, config['formats'][0])
target = os.path.join(tmp, language + '_' + profile) target = os.path.join(tmp, language + '_' + profile)
ok, error = extract.stream(media, target, profile, info, audio_track=i+1, flags=self.flags) ok, error = extract.stream(media, target, profile, info, audio_track=i+1, flags={})
if ok: if ok:
tinfo = ox.avinfo(target) tinfo = ox.avinfo(target)
del tinfo['path'] del tinfo['path']