gmyth-stream/server/0.2/plugins/transcoders/mencoder.py
branchtrunk
changeset 744 ef4fb30176dd
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	Tue Jun 05 12:32:43 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