Dear all,
I am using Active X control in my C# application and i am trying to change the aspect ratio of the video input dynamically after opening the movie file.
Open()
{
vlc2.playlist.items.clear();
vlc2.playlist.add(url, " ", VlcOption);
vlc2.playlist.play();
vlc2.video.aspectRatio = "16:9";
}
but this is not changing the aspect ratio.
but when the video start playing (after about 1 second) and i change the aspect ratio (after a button click). it work
onButtonClick(..)
{
vlc2.video.aspectRatio = "16:9";
}
can anyone help me on how to change the aspect ratio directly after opening the file
Thanks