]> git.sesse.net Git - vlc/blobdiff - modules/stream_filter/dash/mpd/BasicCMManager.h
stream_filter: dash: deduplicate code
[vlc] / modules / stream_filter / dash / mpd / BasicCMManager.h
index 2cfd258498a3c782c61d7ddfc1deaf8b839a2f39..ea1d19acf4554795ae84d6cf4db3046d54e02d29 100644 (file)
 #include <stdio.h>
 #include <stdlib.h>
 
-#include "mpd/MPD.h"
-#include "mpd/Period.h"
-#include "mpd/Representation.h"
+#include "mpd/IMPDManager.h"
 #include "mpd/SegmentInfo.h"
 #include "mpd/Segment.h"
-#include "mpd/IMPDManager.h"
 
 namespace dash
 {
@@ -44,20 +41,10 @@ namespace dash
         {
             public:
                 BasicCMManager          (MPD *mpd);
-                virtual ~BasicCMManager ();
 
-                const std::vector<Period *>&    getPeriods() const;
-                Period*                         getFirstPeriod();
-                Period*                         getNextPeriod( Period *period );
-                Representation*                 getBestRepresentation( Period *period );
                 std::vector<Segment *>          getSegments( const Representation *rep );
-                Representation*                 getRepresentation( Period *period, uint64_t bitrate ) const;
-                const MPD*                      getMPD() const;
                 Representation*                 getRepresentation (Period *period, uint64_t bitrate,
                                                                    int width, int height) const;
-
-            private:
-                MPD *mpd;
         };
     }
 }