On Wed Nov 16 08:18:47 2022 +0000, Rémi Bernon wrote:
ie: I expect the stream to be ended already on cleanup, or bad things would happen anyway.
The name is probably misleading, but transform_cleanup_stream() is called from IMediaFilter::Stop() in strmbase. The filter graph stops filters beginning from renderers and going upstream, so the streaming thread will still be active when transform_cleanup_stream() is called and until the parser is stopped.