Re: [PATCH 0/9] Add references counter to GrlMediaSourceFooSpec structures



On Fri, 2010-07-09 at 18:53 +0200, Juan A. Suarez Romero wrote:
> So inspired by how GHashTable works, I added a refcount mechanism in
> GrlMediaSourceFooSpec structures. Thus, instead of directly destroying
> the
> struture, it is unrefered. And when creating it, it is done with
> refcount to 1.
> So when source invokes callback(remaining==0), spec is unrefered.
> 


Anyone is against this change?

	J.A.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]