This commit is contained in:
j 2014-07-29 18:10:01 +02:00
parent cfa7628551
commit fec6258f71

View file

@ -652,7 +652,7 @@ class Stream(models.Model):
return True
def encode(self):
media = self.source.media.path if self.source else self.file.data
media = self.source.media.path if self.source else self.file.data.path
ffmpeg = ox.file.cmd('ffmpeg')
if self.source or ffmpeg == 'ffmpeg':
ffmpeg = None