diff options
author | vdrfan <vdrfan-nospam-@xbmc.org> | 2011-11-28 19:10:18 +0100 |
---|---|---|
committer | vdrfan <vdrfan-nospam-@xbmc.org> | 2011-11-28 19:10:18 +0100 |
commit | e784c47daf37e948f630cb51c65896bbdbe1f66a (patch) | |
tree | b6589ce5700d2efa1ca9566f9954d37301c985a3 | |
parent | b0d584a5d4a39d24a7b306556ad0a920f849e6bf (diff) |
fixed: reset the previously set start-offset before making the actual resume decision (fixes #12228)
-rw-r--r-- | xbmc/video/windows/GUIWindowVideoBase.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xbmc/video/windows/GUIWindowVideoBase.cpp b/xbmc/video/windows/GUIWindowVideoBase.cpp index 8bd983b221..742a77d777 100644 --- a/xbmc/video/windows/GUIWindowVideoBase.cpp +++ b/xbmc/video/windows/GUIWindowVideoBase.cpp @@ -892,6 +892,10 @@ bool CGUIWindowVideoBase::OnSelect(int iItem) bool CGUIWindowVideoBase::OnFileAction(int iItem, int action) { CFileItemPtr item = m_vecItems->Get(iItem); + + // Reset the current start offset. The actual resume + // option is set in the switch, based on the action passed. + item->m_lStartOffset = 0; switch (action) { |