[vlc-devel] RE : [PATCH] -- multiple snapshots taken from menus(correct trac #2818)

brezhoneg1 brezhoneg1 at yahoo.fr
Fri Jun 5 16:16:08 CEST 2009

> Le vendredi 5 juin 2009 11:50:31 brezhoneg1, vous avez écrit :
> > See trac #2818 for details
> >
> > This patch is based on 1.0-bugfix, and is needed for both 1.0-bugfix
> > master reps.
> Does that not mean we are leaking menus all the time... ?

Well, not a memory leak, but connecting the same signal to the same slot
over and over is cumulative.

I tested it for snapshot and for scaling. First access to the menu gives
1 call to the callback, 2n access two calls, third access three calls,

For some functions as scaling, it goes unnoticed. For others like
snapshot, some buggy effects can occur.


More information about the vlc-devel mailing list