SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
23
productivity/impressive/patches/patch-impressive_py
Normal file
23
productivity/impressive/patches/patch-impressive_py
Normal file
|
@ -0,0 +1,23 @@
|
|||
--- impressive.py.orig Sat Mar 26 11:10:53 2022
|
||||
+++ impressive.py Sat Mar 26 11:34:40 2022
|
||||
@@ -1059,9 +1059,9 @@
|
||||
# first, ask politely
|
||||
try:
|
||||
if Platform.use_omxplayer and VideoPlaying:
|
||||
- MPlayerProcess.stdin.write('q')
|
||||
+ MPlayerProcess.stdin.write('q'.encode())
|
||||
else:
|
||||
- MPlayerProcess.stdin.write('quit\n')
|
||||
+ MPlayerProcess.stdin.write('quit\n'.encode())
|
||||
MPlayerProcess.stdin.flush()
|
||||
for i in range(10):
|
||||
if MPlayerProcess.poll() is None:
|
||||
@@ -5571,7 +5571,7 @@
|
||||
cmd = omxplayer_cmd if Platform.use_omxplayer else (mplayer_cmd + '\n')
|
||||
if not cmd: return
|
||||
try:
|
||||
- MPlayerProcess.stdin.write(cmd)
|
||||
+ MPlayerProcess.stdin.write(cmd.encode())
|
||||
MPlayerProcess.stdin.flush()
|
||||
except:
|
||||
StopMPlayer()
|
Loading…
Add table
Add a link
Reference in a new issue