1.1 --- a/gmyth-stream/server/plugins/media/mencoder.py Thu Apr 12 15:12:12 2007 +0100
1.2 +++ b/gmyth-stream/server/plugins/media/mencoder.py Thu Apr 12 20:59:54 2007 +0100
1.3 @@ -201,7 +201,7 @@
1.4 self.filename = "dvd://" + filename
1.5
1.6 elif self.kind == "myth":
1.7 - self.filename = "myth://" + filename
1.8 + self.filename = filename
1.9 self.gst_pipe = os.pipe()
1.10 print self.gst_pipe[0]
1.11 print self.gst_pipe[1]
1.12 @@ -267,6 +267,7 @@
1.13 self.setup_mencoder()
1.14
1.15 ret_val = self.setup_filename(filename)
1.16 +
1.17 if not ret_val[0]:
1.18 return ret_val
1.19
1.20 @@ -332,7 +333,7 @@
1.21 if self.gst_pipe:
1.22 try:
1.23 gst = [ lib.which("gst-launch-0.10") ]
1.24 - self.arg_append(gst, "filesrc location=/tmp/mpg/bad_day.mpg")
1.25 + self.arg_append(gst, "gnomevfssrc location=%s" % self.filename)
1.26 self.arg_append(gst, "! fdsink fd=%d" % self.gst_pipe[1])
1.27 self.gst_pid = Popen(gst, stdout=self.gst_pipe[1], close_fds=True)
1.28 except Exception, e: