diff -r c6af9d7a88b5 -r 65eaca328e22 gmyth-stream/server/0.2/plugins/transcoders/mencoder.py --- a/gmyth-stream/server/0.2/plugins/transcoders/mencoder.py Fri May 04 20:45:38 2007 +0100 +++ b/gmyth-stream/server/0.2/plugins/transcoders/mencoder.py Tue May 08 14:54:37 2007 +0100 @@ -262,23 +262,24 @@ try: while self.proc and self.proc.poll() == None: - r, w, x = select([self.proc.stdout], [outfd], [], 0) + + r, w, x = select([self.proc.stdout], [], [], 0) if self.proc.stdout in r: d = self.proc.stdout.read(4096) outfd.write(d) - self.log.debug("Sending tv data: %d" % show_loading) - if show_loading > 150000 and show: - self.log.debug("Disabling loading video") - show = False + # self.log.debug("Sending tv data: %d" % show_loading) + # if show_loading > 150000 and show: + # self.log.debug("Disabling loading video") + # show = False - elif show_loading % 10000 == 0 and show: - show_loading += 1 - d = open("loading.mpg") - outfd.write(d.read()) - self.log.debug("Sendind loading video: %d" % show_loading) + #elif show_loading % 10000 == 0 and show: + # show_loading += 1 + # d = open("loading.mpg") + # outfd.write(d.read()) + # self.log.debug("Sendind loading video: %d" % show_loading) - else: - show_loading += 1 + #else: + # show_loading += 1 #self.log.debug("SHOW_LOADING: %d" % show_loading)