aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvdrfan <vdrfan-nospam-@xbmc.org>2011-11-28 19:10:18 +0100
committervdrfan <vdrfan-nospam-@xbmc.org>2011-11-28 19:10:18 +0100
commite784c47daf37e948f630cb51c65896bbdbe1f66a (patch)
treeb6589ce5700d2efa1ca9566f9954d37301c985a3
parentb0d584a5d4a39d24a7b306556ad0a920f849e6bf (diff)
fixed: reset the previously set start-offset before making the actual resume decision (fixes #12228)
-rw-r--r--xbmc/video/windows/GUIWindowVideoBase.cpp4
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)
{