For the last couple of weeks I have been working on a wdm video capture
driver which is based on the Testcap example driver included with the XP SP1
DDK.
I am more or less done, there is just one thing that I cant seem to figure
out how to do successfully.
The Testcap sample also implements a TvTuner, AudioTuner and a Video
Crossbar - for which I have no use in my driver and I would like to remove
them.
Either by removing the necessary things from the source / .inf file or by
blocking their functionality in the code somehow without interfering with
the video capture part.
The video crossbar selects the video input [from 5 different sources] for
the capture filter, I cant figure out how to remove the crossbar and still
have the video capture working.[I only have one source].
One of the things I tried was to set the constant DRIVER_STREAM_COUNT
defined in “capstrm.h” to be just 2, which prevents the crossbar from
showing up in the AmCap tool, but the video capture no longer works.
Is there somone on this list that have done a similar thing before?
To sum up, I want to turn the Testcap sample into a video capture only
filter, with only one pin [capture pin], without the crossbar selecting the
input source.
Any help or hints on how to do this would be greatly appreciated. :]
Thanks,
Johan
Still a newbie…
Hitta rätt på nätet med MSN Sök http://search.msn.se/