summaryrefslogtreecommitdiff
path: root/PVideo.cpp
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2015-01-28 21:17:18 +0100
committerchriszero <zerov83@gmail.com>2015-01-28 21:17:18 +0100
commit87eb8a9e931606da4197391b6e3a09376b1383c2 (patch)
tree9427c28a2d7e9e44d4d77dc7fe53ff91f5152e23 /PVideo.cpp
parent1da4dbe662e75be47e046472137c6bd72daa7b4d (diff)
downloadvdr-plugin-plex-87eb8a9e931606da4197391b6e3a09376b1383c2.tar.gz
vdr-plugin-plex-87eb8a9e931606da4197391b6e3a09376b1383c2.tar.bz2
- Counting played time correctly
- Implemented switching audiostreams - Removed some compile warnings
Diffstat (limited to 'PVideo.cpp')
-rw-r--r--PVideo.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/PVideo.cpp b/PVideo.cpp
index 770c15b..f893859 100644
--- a/PVideo.cpp
+++ b/PVideo.cpp
@@ -34,7 +34,7 @@ Video::Video(Poco::XML::Node* pNode, PlexServer* Server)
pAttribs->release();
} else if(Poco::icompare(pChildNode->nodeName(), "Media") == 0) {
- m_pMedia = new Media(pChildNode);
+ m_Media = Media(pChildNode);
} else if(Poco::icompare(pChildNode->nodeName(), "Genre") == 0) {
m_vGenre.push_back(GetNodeValue(pChildNode));
} else if(Poco::icompare(pChildNode->nodeName(), "Writer") == 0) {
@@ -52,9 +52,4 @@ Video::Video(Poco::XML::Node* pNode, PlexServer* Server)
}
}
-Video::~Video()
-{
-}
-
-
}