[vlc-devel] [PATCH] avcodec audio decoder: use libavcodec pts/dts
Rémi Denis-Courmont
remi at remlab.net
Sat Jul 27 09:14:53 CEST 2013
Le vendredi 26 juillet 2013 23:19:21 Rafaël Carré a écrit :
> Le 26/07/2013 21:07, Rémi Denis-Courmont a écrit :
> > Le vendredi 26 juillet 2013 20:12:11 Rafaël Carré a écrit :
> >> + if (frame.nb_samples)
> >> + p_block->i_nb_samples = frame.nb_samples;
> >
> > What's that for? Coded blocks do not normally have or need a samples
> > count.
>
> block_t *p_buffer = decoder_NewAudioBuffer( p_dec, p_block->i_nb_samples );
Yeah so your patch just breaks deinterlacing.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list