diff options
-rw-r--r-- | xbmc/network/upnp/UPnPInternal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/network/upnp/UPnPInternal.cpp b/xbmc/network/upnp/UPnPInternal.cpp index ff335179a4..39a610fe9c 100644 --- a/xbmc/network/upnp/UPnPInternal.cpp +++ b/xbmc/network/upnp/UPnPInternal.cpp @@ -287,7 +287,7 @@ PopulateObjectFromTag(CVideoInfoTag& tag, object.m_MiscInfo.play_count = tag.m_playCount; if (resource) { if (tag.HasStreamDetails()) { - const CStreamDetails details = tag.m_streamDetails; + const CStreamDetails &details = tag.m_streamDetails; resource->m_Duration = details.GetVideoDuration(); resource->m_Resolution = NPT_String::FromInteger(details.GetVideoWidth()) + "x" + NPT_String::FromInteger(details.GetVideoHeight()); } |