DirectShow - passing parameters to custom source push filter?

The simplest way is to register your own protocol (create a key myproto under HKCR, and then create a value "Source Filter" containing your clsid under that). Then you can render "myproto://ip=192.168.0.1&port=12¶m1=x" and these are passed to your IFileSourceFilter::Load method.

The simplest way is to register your own protocol (create a key myproto under HKCR, and then create a value "Source Filter" containing your clsid under that). Then you can render "myproto://ip=192.168.0.1&port=12¶m1=x" and these are passed to your IFileSourceFilter::Load method. G.

I took a brief look at the docs, but there isn't Open method. I assume you meant IFileSourceFilter::Load method? I'll start playing with this in a couple of hours and I'll let you know if it works.

Thanks! – mkurek Jan 27 '10 at 6:22.

Creating the key: HKEY_CLASS_ROOT myproto "Source Filter" = "187463A0-5BB7-11D3-ACBE-0080C75E246E" is not enough on Windows 7. There are two issues with that: you need to wrap your CLSID with curly brackets you need to add "Url Protocol" The correct version looks like that: HKEY_CLASS_ROOT myproto "Source Filter" = "{187463A0-5BB7-11D3-ACBE-0080C75E246E}" "Url Protocol" = "" Moreover, you can check HKEY_CLASS_ROOT->MMS for reference.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions