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

Francois Cartegnie fcvlcdev at free.fr
Mon Feb 15 16:38:00 UTC 2021


Le 15/02/2021 à 16:55, Rémi Denis-Courmont a écrit :
> It has a meaning: to expedite output abort, as opposed to draining which waits
> for proper and clean end. This is the same meaning as with the audio output.
> However I do agree that it makes no general sense at it is nonrecoverable.

But drain != flush

>> What do I do when it hits, for example, muxers ?
> 
> As with everything else, drop buffers if possible in reasonably simple manner.

That's still arbitrary. You could want to flush the whole previously 
muxed content instead.



-- 
Francois Cartegnie
VideoLAN - VLC Developer


More information about the vlc-devel mailing list