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

Rémi Denis-Courmont remi at remlab.net
Sun Jul 8 18:56:26 CEST 2018


Le sunnuntaina 8. heinäkuuta 2018, 18.40.14 EEST Rémi Denis-Courmont a écrit :
> The offending uses are non-timed, such as stream/access.

It seems that separate stream/access is actually not that much work.

vlc_stream_Block() can continue to allocate block_t, as it's almost 
exclusively used by demuxers extracting timed data, so nothing to do there. 
This leaves stream_t.pf_block(), stream_fifo to fix on the input side, and the 
module cache for file reading.

Then there are the clear abusers of block_t & block_fifo_t as a command queue: 
VoD, RTSP server and Caca output.


But still, type separation notwithstanding, this patch needs fixing for leaks 
and stuff.

-- 
雷米‧德尼-库尔蒙
http://www.remlab.net/





More information about the vlc-devel mailing list