1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-25 04:38:01 +00:00

win32: don't touch buffering options

This commit is contained in:
Kacper Michajłow 2023-11-19 21:35:34 +01:00
parent fe29152d06
commit 7bdd673a72

View File

@ -369,7 +369,6 @@ static void reopen_console_handle(DWORD std, int fd, FILE *stream)
} else {
freopen("CONOUT$", "wt", stream);
}
setvbuf(stream, NULL, _IONBF, 0);
// Set the low-level FD to the new handle value, since mp_subprocess2
// callers might rely on low-level FDs being set. Note, with this