aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Marshall <jmarshall@never.you.mind>2012-11-02 16:38:27 +1300
committerJonathan Marshall <jmarshall@never.you.mind>2012-11-02 16:39:09 +1300
commite292b1147bd89a7e53742e3e5039b9a906a3b1d0 (patch)
treeb20218ddd8f76c2f4c895602775fb841b77f33a1
parentc61c546b4feedba1be52dc4b0f664d967f275d8b (diff)
[upnp] use a reference to m_streamDetails rather than taking a copyFrodo_alpha7
-rw-r--r--xbmc/network/upnp/UPnPInternal.cpp2
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());
}