/// <summary>
 /// Set deinterlace mode
 /// </summary>
 /// <param name="mode">Mode of deinterlace</param>
 public void SetDeinterlaceMode(VlcDeinterlaceModes mode)
 {
     if (VlcContext.HandleManager.LibVlcHandle != IntPtr.Zero &&
         VlcContext.InteropManager != null &&
         VlcContext.InteropManager.MediaPlayerInterops != null &&
         VlcContext.InteropManager.MediaPlayerInterops.VideoInterops != null &&
         VlcContext.InteropManager.MediaPlayerInterops.VideoInterops.SetDeinterlace.IsAvailable)
     {
         VlcContext.InteropManager.MediaPlayerInterops.VideoInterops.SetDeinterlace.Invoke(
             VlcContext.HandleManager.MediaPlayerHandles[myHostVlcControl],
             mode != VlcDeinterlaceModes.None ? mode.ToString().ToLower() : null);
     }
 }
 /// <summary>
 /// Set deinterlace mode
 /// </summary>
 /// <param name="mode">Mode of deinterlace</param>
 public void SetDeinterlaceMode(VlcDeinterlaceModes mode)
 {
     if (VlcContext.HandleManager.LibVlcHandle != IntPtr.Zero &&
         VlcContext.InteropManager != null &&
         VlcContext.InteropManager.MediaPlayerInterops != null &&
         VlcContext.InteropManager.MediaPlayerInterops.VideoInterops != null &&
         VlcContext.InteropManager.MediaPlayerInterops.VideoInterops.SetDeinterlace.IsAvailable)
     {
         VlcContext.InteropManager.MediaPlayerInterops.VideoInterops.SetDeinterlace.Invoke(
             VlcContext.HandleManager.MediaPlayerHandles[myHostVlcControl],
             mode != VlcDeinterlaceModes.None ? mode.ToString().ToLower() : null);
     }
 }