Re: [PATCH 14/15] bliptv: updated for the new caps and options APIs



Excerpts from Simon Pena's message of Mon Dec 12 20:53:42 +0100 2011:
> On 12/12/11 21:14, Juan A. Suarez Romero wrote:
> > On Fri, 2011-12-02 at 18:42 +0100, gemont igalia com wrote:
> >> +  gint count = grl_operation_options_get_count (bs->options);
> >>  
> >>    op->source       = g_object_ref (source);
> >> -  op->count        = bs->count;
> >> +  op->count        = count; 
> > 
> > 
> > Is there any reason to do that instead of
> > 
> > op->count = grl_operation_options_get_count (bs->options);
> 
> I think that it's simply that count is being used later
> 
Indeed.
The count variable is used a few lines after (assuming you are speaking of
either grl_bliptv_source_browse() or grl_bliptv_source_search()).

Guij


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