diff options
author | wm4 <wm4@nowhere> | 2020-03-21 13:03:38 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-03-21 13:03:38 +0100 |
commit | a5af126f918b86958a34a6eddc86f744978323ef (patch) | |
tree | 384c475d6ef582fbbfa48e707f461196dbf9a1cf /common/msg.h | |
parent | 33519d61aa67fca41cdae79935f6e2d2ab3c32be (diff) | |
download | mpv-a5af126f918b86958a34a6eddc86f744978323ef.tar.bz2 mpv-a5af126f918b86958a34a6eddc86f744978323ef.tar.xz |
player: actually report an exit error if encoding mode fails on closing
The code that determines the process exit code ignores all stop_play
values other than PT_QUIT. Generally, PT_ERROR is meaningless outside of
play_current_file(), and is mostly equivalent to PT_NEXT_ENTRY.
Do something that makes it report a non-0 exit code, and indicates in
the terminal exit message that something went wrong.
Untested.
Diffstat (limited to 'common/msg.h')
0 files changed, 0 insertions, 0 deletions