gmyth-stream/server/0.2/plugins/transcoders/mencoder.py
branchtrunk
changeset 813 e3911c7373f7
parent 664 464d715ddb7e
     1.1 --- a/gmyth-stream/server/0.2/plugins/transcoders/mencoder.py	Wed May 16 15:42:18 2007 +0100
     1.2 +++ b/gmyth-stream/server/0.2/plugins/transcoders/mencoder.py	Mon Aug 20 21:26:20 2007 +0100
     1.3 @@ -252,7 +252,8 @@
     1.4  
     1.5          ret = False
     1.6  
     1.7 -        if self.args["outfile"] == "-" and self.args["type"] in ["file", "dvd"]:
     1.8 +        if self.args["outfile"] == "-" and \
     1.9 +               self.args["type"] in ["file", "dvd"]:
    1.10              ret = self._start(outfd)
    1.11  
    1.12          elif self.args["type"] == "myth":
    1.13 @@ -262,6 +263,10 @@
    1.14              ret = self._start_outfile(outfd)
    1.15  
    1.16          self.stop()
    1.17 +
    1.18 +        if not ret:
    1.19 +            self.log.error("Problems while starting streaming.")
    1.20 +
    1.21          return ret
    1.22      # start()
    1.23