Let Video Render stop

zhaozj2021-02-16  114

In the process of developing the Filter using DirectShow, encounter a strange problem. When Video Render has an image, you can stop, you can stop normal; but when render doesn't have data, click Stop, the whole graphedit will not respond, 10 seconds, Timeout, will pop up A dialog says that you can't stop.

The way to solve this problem is very simple, that is, when M_State == State_Running is called when M_State == State_Running, all Filter will transfer this to the first-order order. After reaching Render, render will die again;).

But this is not a positive solution and not know!

转载请注明原文地址:https://www.9cbs.com/read-8530.html

New Post(0)