On Wed, 31 Jul 2002, Toshinao Ishii wrote:
> Subject: Re: [Xpert]XvShmPutImage() memory leak ?
> --text follows this line--
> Tue, 30 Jul 2002, Mark Vojkovich wrote:
>
> > XvShmPutImage doesn't allocate any memory.
>
> Yes. We can find this in the source.
>
> On the other hand, when I comment out the call
>
> XvShmPutImage(dpy, xv_port, window, gc, yuv_image,
> 0, 0, yuv_image->width, yuv_image->height,
> 0, 0, _w, _h, True);
>
> in testxv.c, the memory leak disappears. Does this
> imply memory leakage locates at deeper level ?
>
It's is memory usage in the testxv app that you're speaking
of, correct? There isn't really a deeper level. One thing I
notice is that testxv.c is requesting a completion event (the True),
but yet the app is never retrieving them so they are probably piling
up in the client. Change that True to False to see if that changes
anything.
Also you may want to try my Xv test apps instead. Those
are xvtest.tar.gz, suzi.tar.gz and mpeg2play.tar.gz at
http://www.xfree86.org/~mvojkovi/
Mark.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert