![]() |
|
|||||
|
||||||
FileVideoSource PreventFreezing stopped working
2 posts
• Page 1 of 1
FileVideoSource PreventFreezing stopped workingThe PreventFreezing property in AForge.Video.DirectShow FileVideoSource no longer works for me and my application now stalls when the property is set. The property used to work before I did a re-installation of Windows. I took a look at the FileVideoSource source code and thought that maybe I could add the filters that Graph.Render() automatically adds, which I found using graphedt, but that didn't seem to work. Does anyone have any idea how to fix this?
Re: FileVideoSource PreventFreezing stopped workingI think that a work around for this may be to connect the Null Renderer filter to the sample grabber filter, as that seems to work for the DxScan sample included in the directshow.net library. I tried to implement this but the BufferCB method was never run.
This is the code that I added to the File Video Source.
I also added the NullRenderer CsID in the Uuids class. I got this id from Graph Edit.
2 posts
• Page 1 of 1
|
![]() |
|