ZeBobo5 / Vlc.DotNet

.NET control that hosts the audio/video capabilities of the VLC libraries
MIT License
947 stars 416 forks source link

Volume Mixer Shows "VLC Media Player (LibVLC 3.0.4)" Instead of My App Name #484

Closed amiga-500 closed 5 years ago

amiga-500 commented 5 years ago

Hi.

When i use my form's app and begin to play a video that has audio i notice the Window's Volume mixer shows my app name as (see the pic below): volumemixer Is there a way to change this so it shows my app name instead?

amiga-500 commented 5 years ago

Ok never mind. I decided to just use a hex editor to modify the text @ 0x170380 in win-x64's libvlccore.dll file and @ 0x161B70 in win-x86's libvlccore.dll

jeremyVignelles commented 5 years ago

I don't think this "fix" respects the license terms of vlc. The proper fix in my opinion would be to ask the libvlc developers how to fix that.

mfkl commented 5 years ago

@jeremyVignelles is right, and it sounds like the wrong way to go anyway.

I'd try libvlc_set_user_agent and libvlc_set_app_id

jeremyVignelles commented 5 years ago

Didn't know those methods existed, reopening so that we can track that

jeremyVignelles commented 5 years ago

Added those functions in #485, but this doesn't work.

It seems that the issue doesn't happen if the video is rendered somewhere.

mfkl commented 5 years ago

Setting the WindowTitle seems to do the trick. Can you share a small repository displaying the issue? @amiga-500

jeremyVignelles commented 5 years ago

Closing since no answer from original poster.