Skip to content
This repository
Browse code

[bluray] make sure we retain metadata on item when playing bluray

  • Loading branch information...
commit 6d75f51337cf8038bbe57196d478647ba4f14019 1 parent 0a93221
Joakim Plate authored May 26, 2012
3  xbmc/video/windows/GUIWindowVideoBase.cpp
@@ -1108,7 +1108,8 @@ bool CGUIWindowVideoBase::ShowPlaySelection(CFileItemPtr& item, const CStdString
1108 1108
 
1109 1109
     if(item_new->m_bIsFolder == false)
1110 1110
     {
1111  
-      item = item_new;
  1111
+      item.reset(new CFileItem(*item));
  1112
+      item->SetPath(item_new->GetPath());
1112 1113
       return true;
1113 1114
     }
1114 1115
 

0 notes on commit 6d75f51

jmarshallnz

Hmm, what does this acheive?

Joakim Plate
Please sign in to comment.
Something went wrong with that request. Please try again.