Permalink
Browse files

fixed: reset the previously set start-offset before making the actual…

… resume decision (fixes #12228)
  • Loading branch information...
1 parent b0d584a commit e784c47daf37e948f630cb51c65896bbdbe1f66a @mkortstiege mkortstiege committed Nov 28, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 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)
{

0 comments on commit e784c47

Please sign in to comment.