[vlc-devel] commit: Added input internal es_out_GetEsObjects to retreives decoder associated objects . (Laurent Aimar )

Laurent Aimar fenrir at via.ecp.fr
Sun Jan 31 19:20:59 CET 2010


On Sun, Jan 31, 2010, Rafaël Carré wrote:
> On Sun, 31 Jan 2010 01:41:55 +0100 (CET)
> git at videolan.org (git version control) wrote:
> > +            if( es->p_dec )
> > +            {
> > +                if( pp_decoder )
> > +                    *pp_decoder = vlc_object_hold( es->p_dec );
> > +                input_DecoderGetObjects( es->p_dec, pp_vout,
> > pp_aout );
> > +            }
> > +            else
> > +            {
> > +                if( pp_vout )
> > +                    *pp_vout = NULL;
> > +                if( pp_aout )
> > +                    *pp_aout = NULL;
> 
> pp_decoder should be set to NULL also, or skip those and return EGENERIC
 Yes, already fixed by [2b1d6c0066c73299743eafce095cffa6cef899ee].

-- 
fenrir



More information about the vlc-devel mailing list