blob: 64cd47ef5e2bdb1f4091d4dbb0f3dcfa224500a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-aa,v 1.2 2005/11/10 09:04:25 tonio Exp $
--- cplay.orig 2005-11-10 09:50:37.000000000 +0100
+++ cplay
@@ -1165,13 +1165,15 @@ def get_tag(pathname):
# ------------------------------------------
class Player:
+
+ stdin_r, stdin_w = os.pipe()
+ stdout_r, stdout_w = os.pipe()
+ stderr_r, stderr_w = os.pipe()
+
def __init__(self, commandline, files, fps=1):
self.commandline = commandline
self.re_files = re.compile(files, re.I)
self.fps = fps
- self.stdin_r, self.stdin_w = os.pipe()
- self.stdout_r, self.stdout_w = os.pipe()
- self.stderr_r, self.stderr_w = os.pipe()
self.entry = None
self.stopped = 0
self.paused = 0
|