Skip to content

mf: Clear pending MFT stream requests when flushing.

Charlotte Pabst requested to merge CharlottePabst/wine:mf1 into master

Before this, stopping and restarting the media session could cause MFT streams to get stuck in the "already pending" state, which would lead to no more samples getting delivered.

This also reverts 18c0dd73, my previous attempt to fix the problem which for some reason seemed to help - but with the new fix, it does not make any difference.

The reverted commit is faulty since the Flush() method - which is called at session Stop, but runs after sample_grabber_set_state - already releases pending items, while processing markers immediately.

Sorry for the trouble.

Merge request reports

Loading