gmyth-stream/server/0.3/plugins/transcoders/gmencoder.py
branchtrunk
changeset 748 bf9dac4bdc5d
parent 735 15a191556cd6
child 768 b405295259f3
     1.1 --- a/gmyth-stream/server/0.3/plugins/transcoders/gmencoder.py	Fri Jun 01 11:50:11 2007 +0100
     1.2 +++ b/gmyth-stream/server/0.3/plugins/transcoders/gmencoder.py	Tue Jun 12 22:13:46 2007 +0100
     1.3 @@ -53,9 +53,9 @@
     1.4          self.opts.append (self.gmencoder_path)
     1.5          self._parser_params ()
     1.6  
     1.7 -        outfile = self.params_first("outfile", None)
     1.8 +        outfile = self.params_first("outfile", "")
     1.9  
    1.10 -        if outfile:
    1.11 +        if outfile != "":
    1.12              path = os.path.join(sys.path[0], ".transcoded", outfile)
    1.13              self._insert_param("-o", "file://%s" % path)
    1.14          else: