[Ffmpeg-devel] [PATCH] Make x11grab output mouse warning only once
Wed Jan 31 03:01:29 CET 2007
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,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 722 bytes
Desc: not available
More information about the ffmpeg-devel