1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 16:33:02 +00:00
mpv/test
wm4 0279a44d93 command: extend subprocess command
Add env and detach arguments. This means the command.c code must use the
"new" mp_subprocess2(). So also take this as an opportunity to clean up.
win32 support gets broken by it, because it never made the switch to the
newer function.

The new detach parameter makes the "run" command fully redundant, but I
guess we'll keep it for simplicity. But change its implementation to use
mp_subprocess2() (couldn't do this earlier, because win32).

Privately, I'm going to use the "env" argument to add a key binding that
starts a shell with a FILE environment variable set to the currently
playing file, so this is very useful to me.

Note: breaks windows, so for example youtube-dl on windows will not work
anymore. mp_subprocess2() has to be implemented. The old functions are
gone, and subprocess-win.c is not built anymore. It will probably work
on Cygwin.
2020-07-20 21:02:17 +02:00
..
ref test: update to new ffmpeg pixfmts 2020-06-17 19:43:09 +02:00
chmap.c test: merge test_helpers.c and index.c 2019-11-08 20:34:07 +01:00
gl_video.c test: merge test_helpers.c and index.c 2019-11-08 20:34:07 +01:00
img_format.c video: clean up pixel metadata stuff some more 2020-05-20 18:38:15 +02:00
input-gamepad.conf input: add gamepad support through SDL2 2019-10-23 09:40:30 +02:00
json.c test: merge test_helpers.c and index.c 2019-11-08 20:34:07 +01:00
linked_list.c test: merge test_helpers.c and index.c 2019-11-08 20:34:07 +01:00
paths.c path: add mp_path_is_absolute() 2020-02-06 14:14:35 +01:00
repack.c test: update to new ffmpeg pixfmts 2020-06-17 19:43:09 +02:00
scale_sws.c test: add tests for zimg RGB repacking 2019-11-09 01:55:13 +01:00
scale_test.c video: clean up some imgfmt related stuff 2020-05-18 01:54:59 +02:00
scale_test.h test: add tests for zimg RGB repacking 2019-11-09 01:55:13 +01:00
scale_zimg.c zimg: add slice threading and use it by default 2020-07-15 22:59:17 +02:00
subtimes.js command: add sub-start & sub-end properties 2019-09-22 09:19:45 +02:00
tests.c command: extend subprocess command 2020-07-20 21:02:17 +02:00
tests.h video: separate repacking code from zimg and make it independent 2020-05-09 18:02:57 +02:00