aboutsummaryrefslogtreecommitdiffstats
path: root/Managers
diff options
context:
space:
mode:
Diffstat (limited to 'Managers')
-rw-r--r--Managers/MultimediaManager.cpp1
-rw-r--r--Managers/MultimediaStream.h4
2 files changed, 2 insertions, 3 deletions
diff --git a/Managers/MultimediaManager.cpp b/Managers/MultimediaManager.cpp
index 44473b04..23118464 100644
--- a/Managers/MultimediaManager.cpp
+++ b/Managers/MultimediaManager.cpp
@@ -280,6 +280,7 @@ void MultimediaManager::stopAudio()
bool MultimediaManager::setVideoQuality()
{
+
if (this->videoStream)
this->videoStream->setRepresentation();
return true;
diff --git a/Managers/MultimediaStream.h b/Managers/MultimediaStream.h
index d5661b01..454cca23 100644
--- a/Managers/MultimediaStream.h
+++ b/Managers/MultimediaStream.h
@@ -56,7 +56,6 @@ public:
void setPosition(uint32_t segmentNumber);
void setLooping(bool looping);
void setPositionInMsec(uint32_t milliSecs);
-
libdash::framework::input::MediaObject* getSegment();
void setEOS(bool value);
void notifyBufferChange(uint32_t bufferfill, int maxC);
@@ -89,10 +88,9 @@ private:
StreamType type;
bool icn;
double icnAlpha;
- mutable CRITICAL_SECTION monitorMutex;
bool noDecoding;
- void init ();
+ void init();
};
}
}