1.1 --- a/gmyth-stream/server/0.2/plugins/transcoders/gstreamer.py Thu Apr 19 15:56:26 2007 +0100
1.2 +++ b/gmyth-stream/server/0.2/plugins/transcoders/gstreamer.py Thu Apr 19 16:02:10 2007 +0100
1.3 @@ -40,14 +40,13 @@
1.4 # StreamData()
1.5
1.6
1.7 - def __init__(self, params, request):
1.8 + def __init__(self, params):
1.9 server.Transcoder.__init__(self, params)
1.10 gobject.threads_init ()
1.11 # set gstreamer basic options
1.12 self.connection = None
1.13 self.addr = None
1.14 self.ready = False
1.15 - self.request = request
1.16
1.17 self.log.info("Params for Gstreamer: %s" % self.params)
1.18 # __init__()
1.19 @@ -257,7 +256,6 @@
1.20 self.log.info("Pipe finished")
1.21 if stream_data.Ready:
1.22 self.stop()
1.23 - self.request.server.del_transcoders(self.request, self)
1.24 else:
1.25 stream_data.Loop.quit()
1.26
1.27 @@ -266,7 +264,6 @@
1.28 self.log.error("Error: %s %s" %(err, debug))
1.29 if stream_data.Ready:
1.30 self.stop()
1.31 - self.request.server.del_transcoders(self.request, self)
1.32 else:
1.33 stream_data.Loop.quit()
1.34