1.1 --- a/gmyth-stream/server/plugins/transcoders/gmencoder.py Mon Jan 28 19:39:14 2008 +0000
1.2 +++ b/gmyth-stream/server/plugins/transcoders/gmencoder.py Fri Feb 01 22:17:33 2008 +0000
1.3 @@ -55,8 +55,6 @@
1.4 self._insert_param("--audio-opts", self.params_first ("audio-opts", ""))
1.5 self._insert_param("--mux-element", self.params_first("mux", ""))
1.6 self._insert_param("--audio-rate", self.params_first("audio-rate", ""))
1.7 -
1.8 -
1.9 # _parse_params
1.10
1.11 def start(self, outfd):
1.12 @@ -84,9 +82,9 @@
1.13 return False
1.14
1.15 try:
1.16 - if not outfile:
1.17 - p = select.poll()
1.18 - p.register (outfd, select.POLLNVAL | select.POLLERR |
1.19 + if not outfile:
1.20 + p = select.poll()
1.21 + p.register (outfd, select.POLLNVAL | select.POLLERR |
1.22 select.POLLHUP)
1.23 tries = 0
1.24 while (self.proc and self.proc.poll() == None):