mirror of
https://github.com/mpv-player/mpv
synced 2024-11-18 21:16:10 +01:00
options: use M_OPT_EXIT with -V
Otherwise, output will actually be muted during pre-pase stage, and it will exit before running it again with output enabled.
This commit is contained in:
parent
b4aa39a817
commit
7a8207a3fb
@ -68,7 +68,7 @@ static int print_version_opt(const m_option_t *opt, const char *name,
|
||||
const char *param)
|
||||
{
|
||||
mp_print_version(true);
|
||||
exit(0);
|
||||
return M_OPT_EXIT;
|
||||
}
|
||||
|
||||
#if HAVE_RADIO
|
||||
|
Loading…
Reference in New Issue
Block a user