[vlc-devel] [PATCH 1/2] transcode: add support for flush operations

Rémi Denis-Courmont remi at remlab.net
Mon Feb 15 15:58:58 UTC 2021

Le maanantaina 15. helmikuuta 2021, 15.20.17 EET Alexandre Janniaux a écrit :
> > Trying to solve an asynchronous random access discontinuity handling issue
> > with a synchronous command can't work without breaking the concept of
> > stream.
> I'm also a bit bothered by the fact that sout is supposed to
> forward elementary stream, but flushing an elementary stream
> feels like recreating the stream since the input won't match
> the output stream, even without further processing.

We could delete all ES and then recreate them. That can be done in the core, 
either stream output or even ES output. This would avoid having to implement 
ill-defined flush callbacks in every sout and mux module.

Obviously not all muxers would support that. We can't do what cannot be done.

Реми Дёни-Курмон

More information about the vlc-devel mailing list