[vlc-devel] [PATCH 2/2] vlc_block: store per block ancillary

Rémi Denis-Courmont remi at remlab.net
Tue Jun 19 19:41:15 CEST 2018


Le tiistaina 19. kesäkuuta 2018, 20.38.41 EEST Francois Cartegnie a écrit :
> Le 19/06/2018 à 19:22, Rémi Denis-Courmont a écrit :
> >>  /** Initial memory alignment of data block.
> > 
> > This is out of place. Block_t is a generic data structure, not some demux/
> > codec internal.
> 
> If that's generic, why does it stores nb of samples or timestamp ?

Timestamp is pretty generic and grand fathered.

Sample counts is grand fathered from the merger of aout_buffer_t, and could be 
removed fairly easily if we wanted.

-- 
Rémi Denis-Courmont
http://www.remlab.net/





More information about the vlc-devel mailing list