2baccc7e19
descriptors Bump PKGREVISION
23 lines
729 B
Text
23 lines
729 B
Text
$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
|