Commit 51ddaa77 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

dash: Fixing NullManager interface implementation.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 0a120d11)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 8aa98f8c
...@@ -53,3 +53,7 @@ Representation* NullManager::getRepresentation (Period *, long ) ...@@ -53,3 +53,7 @@ Representation* NullManager::getRepresentation (Period *, long )
{ {
return NULL; return NULL;
} }
const MPD* NullManager::getMPD() const
{
return NULL;
}
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include "mpd/IMPDManager.h" #include "mpd/IMPDManager.h"
#include "mpd/MPD.h"
#include "mpd/Period.h" #include "mpd/Period.h"
#include "mpd/Representation.h" #include "mpd/Representation.h"
#include "mpd/ISegment.h" #include "mpd/ISegment.h"
...@@ -45,7 +46,7 @@ namespace dash ...@@ -45,7 +46,7 @@ namespace dash
Representation* getBestRepresentation (Period *period); Representation* getBestRepresentation (Period *period);
std::vector<ISegment *> getSegments (Representation *rep); std::vector<ISegment *> getSegments (Representation *rep);
Representation* getRepresentation (Period *period, long bitrate); Representation* getRepresentation (Period *period, long bitrate);
const MPD* getMPD () const;
private: private:
std::vector<Period *> periods; std::vector<Period *> periods;
std::vector<ISegment *> segments; std::vector<ISegment *> segments;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment