SetMarqueeString makes app freeze if "%" is part of text
Summary
Just tried to display any text with "%" using
MediaPlayer.SetMarqueeString(VideoMarqueeOption.Text, Text)
The app will freeze and the CPU usage will rise to ~10% and stay there. Tried other characters and they all work (! @ # $ ^ & ... etc)
Steps to reproduce
- Create WinForm Project and Add LibVLCSharp
- Enable Marquee with
MediaPlayer.SetMarqueeInt(VideoMarqueeOption.Enable, 1)
- Set any text with "%" in it or just it
- See error
What is the current bug behavior?
The app freezes, picture remains identical, CPU rises in usage at around 10% on my pc and sound will play the last 1-2 seconds before freeze on repeat every few seconds.
What is the expected correct behavior?
"%" displayed
Relevant logs and/or screenshots
"Remove the current Log API which only (kinda) works on Windows and not other platforms..." - I don't know if I can log, but happy to if someone tells me how
Environment
- OS: Windows
- Version 10, 1809
- Device: PC
- LibVLC version and architecture 3.0.6, x64
- LibVLCSharp version 0.8.0