[MPlayer-dev-eng] [PATCH] Print screenshot message after screenshot file is saved

Anton Sviridenko anton at corp.bluecherry.net
Fri Dec 5 23:46:29 CET 2014


When screenshot is requeste from mplayer, mplayer prints message like

*** screenshot 'shot0001.png' ***

before the file is actually saved to disk. That's very inconvenient
for application
using mplayer in slave mode that wants to save screenshot files in some separate
place with user-defined name. Because application has to wait until
that file appears
in mplayer's working directory and check somehow that it is fully written.

I suggest to move this message from gen_fname() to write_png() and
print it after
the file is closed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot_msg_order.patch
Type: text/x-patch
Size: 600 bytes
Desc: not available
URL: <https://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20141206/61ba810e/attachment.bin>


More information about the MPlayer-dev-eng mailing list