Fix ffmpeg pipe on Windows
This commit is contained in:
4
util.py
4
util.py
@@ -190,8 +190,8 @@ def pipe_no_wait(pipefd):
|
|||||||
import msvcrt
|
import msvcrt
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from ctypes import windll, byref, wintypes, GetLastError, WinError
|
from ctypes import windll, byref, wintypes, WinError, POINTER
|
||||||
from ctypes.wintypes import HANDLE, DWORD, POINTER, BOOL
|
from ctypes.wintypes import HANDLE, DWORD, BOOL
|
||||||
|
|
||||||
LPDWORD = POINTER(DWORD)
|
LPDWORD = POINTER(DWORD)
|
||||||
PIPE_NOWAIT = wintypes.DWORD(0x00000001)
|
PIPE_NOWAIT = wintypes.DWORD(0x00000001)
|
||||||
|
Reference in New Issue
Block a user