diff options
author | wm4 <wm4@nowhere> | 2014-01-05 20:11:01 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-01-05 20:11:01 +0100 |
commit | 2123ca52c9c032f5f77923bc2bb3057cbe6ab4b9 (patch) | |
tree | ff80757c731c890ac3d26f374ac031cef6083bce /video/decode/vd.h | |
parent | 2da916f6df71bc4a9cff3d3f8ca940a7b4ec5183 (diff) | |
download | mpv-2123ca52c9c032f5f77923bc2bb3057cbe6ab4b9.tar.bz2 mpv-2123ca52c9c032f5f77923bc2bb3057cbe6ab4b9.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 'video/decode/vd.h')
0 files changed, 0 insertions, 0 deletions