aboutsummaryrefslogtreecommitdiffstats
path: root/MPD/MPDWrapper.cpp
diff options
context:
space:
mode:
authorJacques Samain <jsamain+fdio@cisco.com>2017-06-26 14:11:58 +0200
committerJacques Samain <jsamain+fdio@cisco.com>2017-06-26 14:11:58 +0200
commitbd809fc04c3f9c36f8d145999e5a008ffd90a10b (patch)
treeea2575a1db9056adfbd3f4891f82829f091e60a3 /MPD/MPDWrapper.cpp
parent65bb20ba5cf4ede70026142d61e728c44cc78f9c (diff)
Corrected typo
Change-Id: I85fa9fd7adedcd26cf866847b3c747f99a14f2c3 Signed-off-by: Jacques Samain <jsamain+fdio@cisco.com>
Diffstat (limited to 'MPD/MPDWrapper.cpp')
-rw-r--r--MPD/MPDWrapper.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/MPD/MPDWrapper.cpp b/MPD/MPDWrapper.cpp
index 4c8baa6b..163ed19d 100644
--- a/MPD/MPDWrapper.cpp
+++ b/MPD/MPDWrapper.cpp
@@ -141,7 +141,7 @@ void MPDWrapper::findVideoRepresentation (IMPD* mpd)
}
this->videoRepresentation = representations.at(0);
this->initializeAdaptationSetStreamWithoutLock(viper::managers::StreamType::VIDEO, mpd);
- this->videoSegmentNumber = this->videoRepresentations->find(this->videoRepresentation)->second->getSegmentNumber(time);
+ this->videoSegmentNumber = 0;
}
else
{
@@ -162,7 +162,7 @@ void MPDWrapper::findAudioRepresentation (IMPD* mpd)
{
if(id == std::stoi(representations.at(i)->GetId()))
{
- this->videoRepresentation = representations.at(i);
+ this->audioRepresentation = representations.at(i);
this->destroyAdaptationSetStream(viper::managers::StreamType::AUDIO);
this->initializeAdaptationSetStreamWithoutLock(viper::managers::StreamType::AUDIO, mpd);
this->audioSegmentNumber = this->audioRepresentations->find(this->audioRepresentation)->second->getSegmentNumber(time);
@@ -173,7 +173,7 @@ void MPDWrapper::findAudioRepresentation (IMPD* mpd)
}
this->audioRepresentation = representations.at(0);
this->initializeAdaptationSetStreamWithoutLock(viper::managers::StreamType::AUDIO,mpd);
- this->audioSegmentNumber = this->audioRepresentations->find(this->audioRepresentation)->second->getSegmentNumber(time);
+ this->audioSegmentNumber = 0;
}
else
{