diff options
author | wm4 <wm4@nowhere> | 2014-10-30 23:54:06 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-10-31 00:51:52 +0100 |
commit | 6ddd2b8e0348e311eb883511c5cc4d5598bda086 (patch) | |
tree | 8122ae139a5656d8c2891a11a676edb3974b4d2c /osdep/threads.c | |
parent | 733936f376bd69b6d7743a94152d740d16679b36 (diff) | |
download | mpv-6ddd2b8e0348e311eb883511c5cc4d5598bda086.tar.bz2 mpv-6ddd2b8e0348e311eb883511c5cc4d5598bda086.tar.xz |
player: improve exit message in some scenarios
If you played e.g. an audio-only file and something bad happened that
interrupted playback, the exit message could say "No files played".
This was awkward, so show a different message in this case.
Also overhaul how the exit status is reported in order to make this
easier. This includes things such as not reporting a playback error
when loading playlists (playlists contain no video or audio, which
was considered an error).
Not sure if I'm happy with this, but for now it seems like a slight
improvement.
Diffstat (limited to 'osdep/threads.c')
0 files changed, 0 insertions, 0 deletions