WPF Frequent changing Time/Position property causes video to freeze when its paused.
Summary
Changing video frame of paused video frequently in short amount of time (by setting time/position property) causes video to freeze. In order to "unfreeze" it one needs to play video. It wasn't an issue in Vlc.DotNet.
Minimal project and steps to reproduce
I created a simple WPF app with slider and VideoView. You can see that slowly changing the slider position works correctly and so does clicking on it. If one uses the slider very fast the video will freeze eventually.
Link to the project: https://github.com/apexem/liblvcsharp-bug-repro
What is the current bug behavior?
One is unable to change frame when it froze unless the video starts playing.
What is the expected correct behavior?
One should be able to change frames.
Relevant logs and/or screenshots
I've checked libvlc logs and there was no errors.
Environment
- OS: Windows 10, Windows 7
- LibVLC version and architecture: 3.0.7.1, x86 and x64
- LibVLCSharp version: 3.2.2
Possible fixes
Like I said, the video needs to be played. Calling "NextFrame()" sometimes works too, but unreliably