summaryrefslogtreecommitdiffstats
path: root/player/osd.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-05 20:11:01 +0100
committerwm4 <wm4@nowhere>2014-01-06 20:23:03 +0100
commit0c36f655e19502faf95b8eab0caf7c334ad4d11c (patch)
tree111839faa4c88927af9c0a1ea265df6c48a682b2 /player/osd.c
parentcd31697dd8bca3a1e7aa06a7ac3fc8b6db56a2ad (diff)
downloadmpv-0c36f655e19502faf95b8eab0caf7c334ad4d11c.tar.bz2
mpv-0c36f655e19502faf95b8eab0caf7c334ad4d11c.tar.xz
player: print an error message if run command fails
Note that we can't use mp_msg, because it's not async-signal safe (we might be running other threads while forking, so only functions specified to be async-signal safe can be called, and this doesn't include stdio; mp_msg acquires a mutex too). Also, always print a \n before running the program to flush the status line. The effect is that a program running successfully as well as the error message will effectively start on a new line.
Diffstat (limited to 'player/osd.c')
0 files changed, 0 insertions, 0 deletions