[vlc-devel] vlc_streams and blocks passthrough

Francois Cartegnie fcvlcdev at free.fr
Sat Jul 11 11:40:40 CEST 2015


Seems the streams read functions are unable to pass access blocks
(DStreamRead fifos), inducing unwanted memcpy, allocs and stream sync
for ts/ps demux as well as loss of block flags.

Discontinuities are flagged by rtp access and the ts demuxer doesn't
really have a way to guess it by itself.

I'm unsure about the way to deal with this.

Add some STREAM_CAN_READ_ALIGNED control and
stream_BlockAligned(maxsize) read function (and another pf_ in stream)
allowing the demuxer to choose passthrough reads ?


More information about the vlc-devel mailing list