Avalonia: Unable to set the opacity
Summary
The opacity is not applied.
Minimal project and steps to reproduce
- Clone the project
- Add Opacity to the VideoView (samples/LibVLCSharp.Avalonia.Sample/Views/MainWindow.xaml)
<vlc:VideoView MediaPlayer="{Binding MediaPlayer}" Opacity="0.5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />
Environment
- OS: Ubuntu 20.04.1 LTS x86_64
- Device: Intel NUC i3 (Intel i3-3217U)
- LibVLC version and architecture: libvlc5 3.0.9.2-1, VA-API version 1.7.0
- LibVLCSharp version: 3.x Branch (latest), commit: cb68b0ef