diff options
author | Alex Marsev <alex.marsev@gmail.com> | 2013-08-30 17:34:58 +0400 |
---|---|---|
committer | Alex Marsev <alex.marsev@gmail.com> | 2013-08-30 17:35:54 +0400 |
commit | 88030038e60b485543c03b885134cc4408ed90cd (patch) | |
tree | 007d8b15446276c9ca2abf72d843bdd8a2f30862 /src | |
parent | db1180f0661fd58003b5a79c2c7615aff909b2a4 (diff) |
AppSettings: seek to nearest keyframe by default
Diffstat (limited to 'src')
-rw-r--r-- | src/mpc-hc/AppSettings.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mpc-hc/AppSettings.cpp b/src/mpc-hc/AppSettings.cpp index 08a8df649..ec9a2b0f4 100644 --- a/src/mpc-hc/AppSettings.cpp +++ b/src/mpc-hc/AppSettings.cpp @@ -77,8 +77,8 @@ CAppSettings::CAppSettings() , nJumpDistS(DEFAULT_JUMPDISTANCE_1)
, nJumpDistM(DEFAULT_JUMPDISTANCE_2)
, nJumpDistL(DEFAULT_JUMPDISTANCE_3)
- , bFastSeek(false)
- , eFastSeekMethod(FASTSEEK_LATEST_KEYFRAME)
+ , bFastSeek(true)
+ , eFastSeekMethod(FASTSEEK_NEAREST_KEYFRAME)
, fShowChapters(TRUE)
, fLCDSupport(FALSE)
, iBrightness(0)
@@ -1450,9 +1450,9 @@ void CAppSettings::LoadSettings() fShowOSD = !!pApp->GetProfileInt(IDS_R_SETTINGS, IDS_RS_SHOWOSD, TRUE);
fEnableEDLEditor = !!pApp->GetProfileInt(IDS_R_SETTINGS, IDS_RS_ENABLEEDLEDITOR, FALSE);
- bFastSeek = !!pApp->GetProfileInt(IDS_R_SETTINGS, IDS_RS_FASTSEEK, FALSE);
+ bFastSeek = !!pApp->GetProfileInt(IDS_R_SETTINGS, IDS_RS_FASTSEEK, TRUE);
eFastSeekMethod = static_cast<decltype(eFastSeekMethod)>(
- pApp->GetProfileInt(IDS_R_SETTINGS, IDS_RS_FASTSEEK_METHOD, FASTSEEK_LATEST_KEYFRAME));
+ pApp->GetProfileInt(IDS_R_SETTINGS, IDS_RS_FASTSEEK_METHOD, FASTSEEK_NEAREST_KEYFRAME));
fShowChapters = !!pApp->GetProfileInt(IDS_R_SETTINGS, IDS_RS_SHOW_CHAPTERS, TRUE);
|