forked from 0x2620/pandora
dont use local ffmpeg if format is not webm
This commit is contained in:
parent
e4c6a671a6
commit
ce8803d100
1 changed files with 1 additions and 1 deletions
|
@ -677,7 +677,7 @@ class Stream(models.Model):
|
|||
def encode(self):
|
||||
media = self.source.media.path if self.source else self.file.data.path
|
||||
ffmpeg = ox.file.cmd('ffmpeg')
|
||||
if self.source or ffmpeg == 'ffmpeg':
|
||||
if self.source or ffmpeg == 'ffmpeg' or self.format != 'webm':
|
||||
ffmpeg = None
|
||||
|
||||
if not self.media:
|
||||
|
|
Loading…
Reference in a new issue