Skip to content

Commit

Permalink
Small adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
PCigales authored Nov 13, 2020
1 parent 94d2333 commit c95ebdd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DLNAmpcRenderer.py
Original file line number Diff line number Diff line change
@@ -2616,8 +2616,8 @@ def stop_events_management(self):
def _rotate_jpeg(self, image, angle):
try:
name = NAME + ':%s' % self.port
pipe_w = HANDLE(kernel32.CreateNamedPipeW(LPCWSTR(r'\\.\pipe\write_' + urllib.parse.quote(name, safe='')), DWORD(0x00000003), DWORD(0), DWORD(1), DWORD(0x100000), DWORD(0x100000), DWORD(0), HANDLE(0)))
pipe_r = HANDLE(kernel32.CreateNamedPipeW(LPCWSTR(r'\\.\pipe\read_' + urllib.parse.quote(name, safe='')), DWORD(0x00000003), DWORD(0), DWORD(1), DWORD(0x100000), DWORD(0x100000), DWORD(0), HANDLE(0)))
pipe_w = HANDLE(kernel32.CreateNamedPipeW(LPCWSTR(r'\\.\pipe\write_' + urllib.parse.quote(name, safe='')), DWORD(0x00000002), DWORD(0), DWORD(1), DWORD(0x100000), DWORD(0x100000), DWORD(0), HANDLE(0)))
pipe_r = HANDLE(kernel32.CreateNamedPipeW(LPCWSTR(r'\\.\pipe\read_' + urllib.parse.quote(name, safe='')), DWORD(0x00000001), DWORD(0), DWORD(1), DWORD(0x100000), DWORD(0x100000), DWORD(0), HANDLE(0)))
except:
return None
b = ctypes.create_string_buffer(0x100000)
@@ -2976,7 +2976,7 @@ def start(self):
self.IPCmpcControlerInstance.start()
self.IPCmpcControlerInstance.Player_event_event.wait()
if not self.IPCmpcControlerInstance.wnd_ctrl:
Renderer.mpc_shutdown_event.set()
self.mpc_shutdown_event.set()
return
if self.Minimize:
self.IPCmpcControlerInstance.send_minimize()

0 comments on commit c95ebdd

Please sign in to comment.