[Ffmpeg-devel] [PATCH] Make x11grab output mouse warning only once

Panagiotis Issaris takis
Wed Jan 31 03:01:29 CET 2007


Hi,

The attached patch makes x11grab output its warning that it
couldn't find the mouse pointer only once. This to prevent
flooding of the terminal when grabbing from a different X screen.

  x11grab.c |    6 +++++-
  1 file changed, 5 insertions(+), 1 deletion(-)

I'm not sure everybody will like this, because if the "error" reoccurs,
the warning will not. In my case, when grabbing from -f x11grab -vd x11:0.1
while working on :0.0, the continuous outputting of warnings hides all
useful FFmpeg info.

With friendly regards,
Takis

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pi-20070131T022424-ffmpeg-x11grab_warning_once.diff
Type: text/x-patch
Size: 722 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070131/8d7f1b78/attachment.bin>



More information about the ffmpeg-devel mailing list