Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

… resume decision (fixes #12228)
  • Loading branch information...
commit e784c47daf37e948f630cb51c65896bbdbe1f66a 1 parent b0d584a
vdrfan authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 xbmc/video/windows/GUIWindowVideoBase.cpp
View
4 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)
{
Please sign in to comment.
Something went wrong with that request. Please try again.