12-03-2007, 4:48
|
zwen
Joined on 11-20-2007
Posts 7
|
Frame rate control filter, possible bug?
|
 
 
|
|
|
Hi,
I am using the frame rate control filter in my directshow graph.
I can adjust the frame rate by calling the put_FrameRate(value).
The problem is the put_ChangeStreamLength() function. I called this function with parameter (TRUE), it didn't take any effect.
The only way I can change the change stream length is via the GraphEdit. I can tick the "change stream length" option in the interface. Therefore, the trick to make my program work is :
1. start GraphEdit, insert the Frame Rate Conrol Filter, select the "change Stream Length" option, click "Apply".
2. do the programing in normal way.
But whenever I call the put_ChangeStreamLength() with either TRUE or FALSE, the change stream length option will be disabled and I have to use the Graphedit to enable that option.
Any idea of the problem? Mnay thanks in advance.
Jeff
|
|
|
|
|
Report
|
|
|
|