[FFmpeg-devel] [PATCH] libavdevice/x11grab.c XFixesGetCursorImage support

Roxis roxis
Thu Jul 3 17:37:44 CEST 2008


On Thursday 03 July 2008, Michael Niedermayer wrote:
> On Wed, Jul 02, 2008 at 01:22:26PM +0200, Roxis wrote:
> > I made a patch to add real cursor support in x11grab.
> > But i'm not a c programmer, patch is far from ideal but works for me.
>
> If you know its not ideal then you can recognize some problems, fix them :)
> the return in the middle is the most obvious one ...

ok, i made another patch. this one is ideal for me )

changelog:
dummy cursor code is removed
support for grabbing with x/y offset
fix cursor position (regards cursor hot-spot)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xfixes.cursor.patch
Type: text/x-diff
Size: 6450 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080703/d52b22f0/attachment.patch>



More information about the ffmpeg-devel mailing list