Permalink
Browse files

MP1-4781V14 : madVR V486 (Disable the restore refresh rate from C#)

  • Loading branch information...
Sebastiii committed Oct 2, 2018
1 parent 940bc36 commit 236bd55b734ff372c0526c12f464633f6e646d3d
Showing with 8 additions and 7 deletions.
  1. +8 −7 mediaportal/MediaPortal.Application/MediaPortal.cs
@@ -2940,13 +2940,14 @@ private void OnSuspend()
Currentmodulefullscreen();
if (GUIGraphicsContext.VideoRenderer == GUIGraphicsContext.VideoRendererType.madVR)
{
if (VMR9Util.g_vmr9 != null)
{
if (VMR9Util.g_vmr9.Vmr9Filter != null)
{
MadvrInterface.restoreDisplayModeNow(VMR9Util.g_vmr9.Vmr9Filter);
}
}
// Disabled, it is done on C++ side
//if (VMR9Util.g_vmr9 != null)
//{
// if (VMR9Util.g_vmr9.Vmr9Filter != null)
// {
// MadvrInterface.restoreDisplayModeNow(VMR9Util.g_vmr9.Vmr9Filter);
// }
//}
Currentmodulefullscreen();
// Disable this to avoid crash on resume - V468 added it to try to avoid deadlock on stop.
//var action = new Action(Action.ActionType.ACTION_STOP, 0, 0);

0 comments on commit 236bd55

Please sign in to comment.