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



On Tue, 13 Jul 2010 08:54:52 +0200, "Juan A. Suarez Romero"
<jasuarez igalia com> wrote:
> 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?

I still did not have time to review this.

Iago


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