gmyth-stream/server/0.3/plugins/transcoders/gmencoder.py
branchtrunk
changeset 754 cb885ee44618
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	Thu Jun 14 20:40:47 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: