Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasimir666 <casimir666@users.sourceforge.net>2008-05-24 11:52:31 +0400
committerCasimir666 <casimir666@users.sourceforge.net>2008-05-24 11:52:31 +0400
commit1851fd89dfdb21efb5c2e3dff5b1285075e53a28 (patch)
treedac78dfaf93208776e7590f9c3eba92244eefd16 /src/apps/mplayerc/PPageOutput.cpp
parent4f067706f00ac3f8e61ff4fb7fc9fdd867430ef0 (diff)
Force 3D surface for EVR custom, add "TV -> PC Level" shader
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@520 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/PPageOutput.cpp')
-rw-r--r--src/apps/mplayerc/PPageOutput.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/apps/mplayerc/PPageOutput.cpp b/src/apps/mplayerc/PPageOutput.cpp
index 3262855b7..20fb679b0 100644
--- a/src/apps/mplayerc/PPageOutput.cpp
+++ b/src/apps/mplayerc/PPageOutput.cpp
@@ -257,6 +257,17 @@ void CPPageOutput::OnDSRendererChange(UINT nIDbutton)
GetDlgItem(IDC_FULLSCREEN_MONITOR_CHECK)->EnableWindow(TRUE);
GetDlgItem(IDC_CHECK1)->EnableWindow(TRUE); // Lock back buffer
+ // Force 3D surface with EVR Custom
+ if (nIDbutton - IDC_DSSYSDEF == 11)
+ {
+ GetDlgItem(IDC_DX_SURFACE)->EnableWindow(FALSE);
+ m_iAPSurfaceUsage = 2;
+ UpdateData(FALSE);
+ }
+ else
+ GetDlgItem(IDC_DX_SURFACE)->EnableWindow(TRUE);
+ break;
+
case 5 : // VMR7 renderless
GetDlgItem(IDC_DX_SURFACE)->EnableWindow(TRUE);
break;