Relative Content

Tag Archive for c#winformslibvlcsharp

Multiple VideoView controls crash C# WinForms application LibVLCSharp

For a project I want 2 (or eventually more) videos to play in a C# WinForms application with LibVLCSharp. One instance of LibVLC with one instance of a MediaPlayer and one VideoView works without issues. However, when creating 2 MediaPlayers each connected to their own VideoView results in the application crashing mostly when I try to do an operation such as resizing the VideoViews.

Multiple VideoView controls crash C# WinForms application LibVLCSharp

For a project I want 2 (or eventually more) videos to play in a C# WinForms application with LibVLCSharp. One instance of LibVLC with one instance of a MediaPlayer and one VideoView works without issues. However, when creating 2 MediaPlayers each connected to their own VideoView results in the application crashing mostly when I try to do an operation such as resizing the VideoViews.