libVLC with C#/WPF without loop method?
Posted: 27 Aug 2015 16:49
Hi,
I installed the libVLC packages from NuGET and made a simple MediaPlayer in WPF.
There seems to be no loop method.
I tried to work with EndReached, but then I would have to restart the VideoFile I wanted to show. And that results in a short black screen.
Also I tried to use PositionChanged, but there I only get every ~600ms a "stoppoint" and because my video file is exactly 1560 ms in length, I have a hard time to grab it before the end.
Is there anything I can do to get a loop without interruptions?
I installed the libVLC packages from NuGET and made a simple MediaPlayer in WPF.
There seems to be no loop method.
I tried to work with EndReached, but then I would have to restart the VideoFile I wanted to show. And that results in a short black screen.
Also I tried to use PositionChanged, but there I only get every ~600ms a "stoppoint" and because my video file is exactly 1560 ms in length, I have a hard time to grab it before the end.
Is there anything I can do to get a loop without interruptions?