Re: [PATCH 1/5] local-metadata: udpated to may_resolve() API



On 24/02/2011 13:57, Juan A. Suárez Romero wrote:
> On Tue, 2011-02-22 at 16:32 +0100, Guillaume Emont wrote:
>> +  if (media && grl_data_key_is_known (GRL_DATA (media),
>> GRL_METADATA_KEY_URL))
>> +    return has_compatible_media_url (media);
>>   
>
> media should be always non-NULL.
Hmm, I think the documentation of may_resolve() could be clearer on
that: media can indeed be NULL. We need support for that for the first
part of full resolution, when we don't have a media yet (except for the
metadata operation).



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