Ejemplo n.º 1
0
        public void SetCropGeometry(int left, int top, int width, int height)
        {
            // psz_geometry is undocumented
            // see: https://forum.videolan.org/viewtopic.php?f=32&t=78702, https://forum.videolan.org/viewtopic.php?f=32&t=112281

            // right x bottom + left + top works :)
            LibVlc.libvlc_video_set_crop_geometry(Handle, String.Format("{0}x{1}+{2}+{3}", left + width, top + height, left, top));
        }
Ejemplo n.º 2
0
 public void UnSetCropGeometry()
 {
     LibVlc.libvlc_video_set_crop_geometry(Handle, null);
 }