22 Jun 2010 00:40
[PATCH] Fix segfault in x11grab when drawing Cursor on Xservers that don't support the XFixes extension
Brenden Bain <brenden.bain <at> gmail.com>
2010-06-21 22:40:36 GMT
2010-06-21 22:40:36 GMT
Hello, In r20631 x11grab.c was changed to query the current cursor from the Xserver using the XFixes extension. This caused ffmpeg to segfault on x11grab.c:265 when connected to a server that does not support this extension (e.g. the VNC server). In versions prior to r20631 ffmpeg used to just draw a static "arrow" cursor. The fix basically brings back this code into x11grab.c and uses it when the Xserver does not support XFixes. The user will get a info message of the form "Unable to query cursor shape. Using fixed mouse cursor." when ffmpeg is connected to a Xserver without XFixes. Thanks, Brenden.
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel <at> mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
RSS Feed