At present,I finished a vedio decompresser filter, which is based on
CSource and CBaseInputPin, the input pin receives sample and directly
put it in a buffer owned by the filter, the output pin has a work
thread that retrieves data from the buffer , decompresses it and
delives it downstream. The problem is when stop the graph or the stream
runs over, the pause( ) function get called first, and stop( ) should
second, but after pause( ) get called, the graph got blocked and stop()
cannot get called. After 10 second, a dialog box pops up, writing the
graph cannot commplete pause in ten seconds, after clicking the cancel
button the stop( ) get called and graph stops.
I cannot solve this problem ,hope someone can help ! Thank you in
advance!