[MPlayer-dev-eng] PATCH: signal handling in gmplayer, immediate mode in tvi_v4l, wrong warning for tv:// MRLs

Dan Christiansen danchr at daimi.au.dk
Tue May 20 12:26:46 CEST 2003


On Tuesday, May 20, 2003, at 12:17 PM, Sergey Pinaev wrote:

> "good" way should be to set signal handler with sigaction() and
> set sa_mask to block all signals during handler excution and
> replace mp_msg's in exit_sighandler with printf("we are dead\n").
> exit_player() should also be replaced with exit()...

How about simply using fwrite() and write to standard error? If 
fprintf() isn't suitable for a sighandler, surely fwrite() must be.

- Dan



More information about the MPlayer-dev-eng mailing list