2008-06-02 17:02:01 UTC
If I merely configure the graph to end in a file writer, everything is
fine and it runs and duly creates an MPEG4 file. If I render the
preview pin on the capture filter, I get a preview of the video, but
only for 60 seconds, and I'd like it to be continuous. To do this, I
thought it would be a simple case of inserting an Infinite Tee filter
onto the capture pin, render one output and send another off to the
However, having added the Tee filter to the graph, connected it to the
capture filter and rendered one output pin, the Tee filter detaches
itself from the capture filter. (I'm just using GraphEdit to do
this...) So I re-attach the capturer to the Tee, and the renderer
filters detach! What's going on? If I then render the Tee filter
output pin, it re-attaches the renderer filters and all stays
connected; you can run it and it's fine. And if I try to do all this
programatically, it sometimes works and sometimes doesn't.
Can anybody suggest why this behaviour occurs?