Ejemplo n.º 1
0
 public void SetDevice(IntPtr device)
 {
     if (GUIGraphicsContext.VideoRenderer == GUIGraphicsContext.VideoRendererType.madVR)
     {
         // Need to init there to have the setting for madVR.
         LoadSettings();
         MpcSubtitles.SetDefaultStyle(ref this.defStyle, this.overrideASSStyle);
         if (selectionOff)
         {
             MpcSubtitles.SetShowForcedOnly(false);
         }
         else
         {
             MpcSubtitles.SetShowForcedOnly(!this.autoShow);
         }
     }
     MpcSubtitles.SetDevice(device);
 }
Ejemplo n.º 2
0
 public void SetDevice(IntPtr device)
 {
     MpcSubtitles.SetDevice(device);
 }