multiudpsink fd leak, BUG?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

multiudpsink fd leak, BUG?

Mailing List SVR
Hi all,

I have a file descriptor leak, the problem arise when I use the remove signal in multiudpsink.

To add a new client to multiudpsink in my python code I do something like this:

self.multisink.emit('add',host,port)

and to remove a client I use:

self.multisink.emit('remove',host,port)

1) when I add a new client two fd are used
2) when I remove a client the file descriptor aren't given back
3) if I stop the whole stream only the file descriptor for the current connected client are given back

so if in a for loop I add and remove client to a multiudpsink element I have a file descriptor leak,

is there something wrong in my code or this is a gstreamer bug?

thanks
Nicola

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel