diff -r 20de88fec6f4 -r 1418e08cee7a gmyth-stream/server/plugins/transcoders/gmencoder.py --- a/gmyth-stream/server/plugins/transcoders/gmencoder.py Mon Jan 28 19:39:14 2008 +0000 +++ b/gmyth-stream/server/plugins/transcoders/gmencoder.py Mon Mar 03 17:38:32 2008 +0000 @@ -55,8 +55,6 @@ self._insert_param("--audio-opts", self.params_first ("audio-opts", "")) self._insert_param("--mux-element", self.params_first("mux", "")) self._insert_param("--audio-rate", self.params_first("audio-rate", "")) - - # _parse_params def start(self, outfd): @@ -84,9 +82,9 @@ return False try: - if not outfile: - p = select.poll() - p.register (outfd, select.POLLNVAL | select.POLLERR | + if not outfile: + p = select.poll() + p.register (outfd, select.POLLNVAL | select.POLLERR | select.POLLHUP) tries = 0 while (self.proc and self.proc.poll() == None):