Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let us to set our custom device name #26

Open
lopi-py opened this issue Mar 12, 2023 · 3 comments
Open

Let us to set our custom device name #26

lopi-py opened this issue Mar 12, 2023 · 3 comments

Comments

@lopi-py
Copy link

lopi-py commented Mar 12, 2023

Thanks for this very useful library. The title is self-explanatory, I always see it as "DirectShow Softcam"
image
I'd like to change it

@tshino
Copy link
Owner

tshino commented Mar 12, 2023

Thank you for your request!

You can modify the name through creating your own custom DLL by changing this line:

const wchar_t FILTER_NAME[] = L"DirectShow Softcam";

However, I guess this might not be an expected answer.
Initially, I wanted to allow users to specify the name on the scCreateCamera API. But Windows does not allow changing the installed device name, which is written on the registry, in such a way.

@lopi-py
Copy link
Author

lopi-py commented Mar 12, 2023

Ah yes, that works I guess, maybe it would be worth to specify the name in DllRegisterServer as a parameter?

@tshino
Copy link
Owner

tshino commented Mar 13, 2023

Interesting. Let me think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants