fix remux
This commit is contained in:
parent
de818c4204
commit
4794c0f68a
2 changed files with 14 additions and 6 deletions
|
|
@ -821,7 +821,10 @@ class Stream(models.Model):
|
|||
done = True
|
||||
elif self.file.can_remux():
|
||||
ok, error = extract.remux_stream(media, target)
|
||||
done = True
|
||||
if ok:
|
||||
self.available = True
|
||||
self.save()
|
||||
done = True
|
||||
if not done:
|
||||
ok, error = extract.stream(media, target, self.name(), info, flags=self.flags)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue