diff options
author | wm4 <wm4@nowhere> | 2020-07-09 12:26:54 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-07-09 12:26:54 +0200 |
commit | adbd28b1dbe256dda82a6154b0ba2cf118c742d5 (patch) | |
tree | cfb7961eafa1464bfa359ba4bf4baee838064aea /player | |
parent | b961efb0af166fddb2513ad0af210f956710e0ee (diff) | |
download | mpv-adbd28b1dbe256dda82a6154b0ba2cf118c742d5.tar.bz2 mpv-adbd28b1dbe256dda82a6154b0ba2cf118c742d5.tar.xz |
player: fix outdated comment
Diffstat (limited to 'player')
-rw-r--r-- | player/scripting.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/player/scripting.c b/player/scripting.c index 7b3f9afb3c..6b891d92aa 100644 --- a/player/scripting.c +++ b/player/scripting.c @@ -333,8 +333,6 @@ static int load_run(struct mp_script_args *args) return -1; args->client = NULL; // ownership lost - // Hardcode them (according to opts.fds[]), because we want to allow clients - // to hardcode them if they want. Sue me. char *fdopt = fds[1] >= 0 ? mp_tprintf(80, "--mpv-ipc-fd=%d:%d", fds[0], fds[1]) : mp_tprintf(80, "--mpv-ipc-fd=%d", fds[0]); @@ -346,7 +344,7 @@ static int load_run(struct mp_script_args *args) {.fd = 0, .src_fd = 0,}, {.fd = 1, .src_fd = 1,}, {.fd = 2, .src_fd = 2,}, - // Just hope these don't step over each other (e.g. fds[1] is not + // Just hope these don't step over each other (e.g. fds[1] could be // below 4, if the std FDs are missing). {.fd = fds[0], .src_fd = fds[0], }, {.fd = fds[1], .src_fd = fds[1], }, |