Skip to content

Commit

Permalink
Enable use of EVRCP for the seek preview
Browse files Browse the repository at this point in the history
  • Loading branch information
clsid2 committed Jul 19, 2021
1 parent dd9d5a1 commit 9853c1a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/filters/renderer/VideoRenderers/DX9AllocatorPresenter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1394,8 +1394,6 @@ STDMETHODIMP_(bool) CDX9AllocatorPresenter::Paint(bool bAll)
}
}

// ToDo: Add a simplified PaintPreview() function and call that instead
// There is no need to do all the complex VSync stuff in case of preview
if (!m_bIsPreview) {
// paint the text on the backbuffer
AlphaBltSubPic(rDstPri, rDstVid);
Expand Down
1 change: 0 additions & 1 deletion src/mpc-hc/FGManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2612,7 +2612,6 @@ CFGManagerPlayer::CFGManagerPlayer(LPCTSTR pName, LPUNKNOWN pUnk, HWND hWnd, boo
}
} else {
bool preview_evrcp = (s.iDSVideoRendererType == VIDRNDT_DS_EVR_CUSTOM) || (s.iDSVideoRendererType == VIDRNDT_DS_SYNC) || (s.iDSVideoRendererType == VIDRNDT_DS_MADVR) || (s.iDSVideoRendererType == VIDRNDT_DS_MPCVR);
preview_evrcp = false; // disable for now, causes subtitle issue
if (preview_evrcp && CAppSettings::IsVideoRendererAvailable(VIDRNDT_DS_EVR_CUSTOM)) {
m_transform.AddTail(DEBUG_NEW CFGFilterVideoRenderer(m_hWnd, CLSID_EVRAllocatorPresenter, L"EVRCP - Preview Window", MERIT64_ABOVE_DSHOW + 2, true));
} else if (CAppSettings::IsVideoRendererAvailable(VIDRNDT_DS_EVR)) {
Expand Down

0 comments on commit 9853c1a

Please sign in to comment.