这是本文档旧的修订版!
DirectShow
Tips
Filter States
- Filters have three possible states: stopped, paused, and running
- Transitions between stopped and running always go through the paused state, so if the application calls Run on a stopped graph, the Filter Graph Manager pauses the graph before running it. 即每次点开始播放后,会先有 paused 状态,再转到 running 状态
- The Filter Graph Manager carries out all state transitions in upstream order, starting from the renderer and working backward to the source filter. FGM 控制各 Filter 的状态的顺序是从最下游的渲染层开始,再依次回到最上游资源filter。