diff options
author | Alex Marsev <alex.marsev@gmail.com> | 2013-08-30 17:17:17 +0400 |
---|---|---|
committer | Alex Marsev <alex.marsev@gmail.com> | 2013-08-30 17:17:17 +0400 |
commit | 279d29036e1e643bd3e806ed211d7cddea0f29d7 (patch) | |
tree | 380e3fd905d51a8bee78094f89e5aff57e228327 /src | |
parent | 379a9d9c931edd690d9554436634d9c9075dff6b (diff) |
MainFrm: remove seek-on-keyframe legacy hack
It breaks accurate keyframe seeking in LAV
Diffstat (limited to 'src')
-rw-r--r-- | src/mpc-hc/MainFrm.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mpc-hc/MainFrm.cpp b/src/mpc-hc/MainFrm.cpp index b125184cb..48ab2a02c 100644 --- a/src/mpc-hc/MainFrm.cpp +++ b/src/mpc-hc/MainFrm.cpp @@ -10637,12 +10637,6 @@ void CMainFrame::OpenFile(OpenFileData* pOFD) if (FAILED(pKFI->GetKeyFrames(&TIME_FORMAT_MEDIA_TIME, m_kfs.data(), k)) || k != nKFs) {
m_kfs.clear();
}
- for (auto it = m_kfs.begin(); it != m_kfs.end(); ++it) {
- // HACK: if d3d or something changes fpu control word the values of
- // m_kfs may be different now (if it was asked again), adding a little
- // to the seek position eliminates this error usually.
- *it += 10;
- }
}
SetPlaybackMode(PM_FILE);
|