Skip to content

New window opened when using VideoView

On some machines playing a video (or even setting source to a .jpg) using VideoView I get a new window labeled "VLC (Direct3D11 output)", even though the control is embedded in a Grid or a DockPanel. I cannot say why this happens or in which scenarios, but I get it almost every time on my development machine. A way to prevent this might be to switch the renderer, but I have no clue where to change it for a VideoView?!

Example code:

    <Grid DockPanel.Dock="Top" Margin="10" Background="Black">
        <vlcwpf:VideoView x:Name="VlcPlayer" Grid.Row="0" Grid.Column="0" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" ></vlcwpf:VideoView>
    </Grid>

direct3d11

Used packages: vlclib_packages

Edited by Chris Loose
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information