I use libvlc to display the video stream in my .Net program writen on C#.
Most of the time everything is stable. But periodically instead of displaying video
in designated control (UserControl), library automatically creates an additional window
with the title "VLC (Colour AsCii Art)".
To display video I use the following code:
Code: Select all
libvlc_media_player_set_hwnd (player, hWnd);
libvlc_media_player_play (player);
If instead of hWnd I pass IntPtr.Zero, library creates expected additional window
"VLC (Direct3D output)". Parasitic windows AsCii thus never observed.
So I have formed the opinion that when displaying video while hWnd != NULL I do not consider some nuances.
Please tell me what action should I take to solve the problem as soon as possible?
It is necessary to eliminate the occurrence of spurious window "AsCii Art".
Thanks in advance.