# HG changeset patch # User morphbr # Date 1180636563 -3600 # Node ID 6e54ca4a4e9a646697d926f03fc3905d6f29104c # Parent 72f9152d4e2a193c0986840131846f393ba934ac [svn r734] * GMyth-Streamer - Close socket when transcoding to file (bug fix) diff -r 72f9152d4e2a -r 6e54ca4a4e9a gmyth-stream/server/0.3/plugins/transcoders/mencoder_lib/mythtv.py --- a/gmyth-stream/server/0.3/plugins/transcoders/mencoder_lib/mythtv.py Thu May 31 17:12:51 2007 +0100 +++ b/gmyth-stream/server/0.3/plugins/transcoders/mencoder_lib/mythtv.py Thu May 31 19:36:03 2007 +0100 @@ -79,8 +79,11 @@ except Exception, e: self.log.error(self.tid, "Error: Problems getting size of"\ " file: %s" % e) + outfd.write("Error: Problems getting size of file: %s" % e) return False + outfd.write("OK ") + try: while self.proc and self.proc.poll() == None: r, w, x = select([self.gmyth.stderr, self.proc.stdout],