]> git.sesse.net Git - vlc/commitdiff
stream_filter: dash: remove unused segment methods
authorFrancois Cartegnie <fcvlcdev@free.fr>
Tue, 18 Nov 2014 13:16:02 +0000 (14:16 +0100)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Thu, 18 Dec 2014 20:23:48 +0000 (21:23 +0100)
modules/stream_filter/dash/mpd/Segment.cpp
modules/stream_filter/dash/mpd/Segment.h

index d9dc8f84517899992e66923183c2f43735cedcc1..2152367342e2932f8b4e492551a9a98fabfa5546 100644 (file)
@@ -67,23 +67,13 @@ void                    Segment::addBaseUrl     (BaseUrl *url)
 {
     this->baseUrls.push_back(url);
 }
-const std::vector<BaseUrl *>&  Segment::getBaseUrls    () const
-{
-    return this->baseUrls;
-}
+
 void                    Segment::setByteRange   (int start, int end)
 {
     this->startByte = start;
     this->endByte   = end;
 }
-int                     Segment::getStartByte   () const
-{
-    return this->startByte;
-}
-int                     Segment::getEndByte     () const
-{
-    return this->endByte;
-}
+
 dash::http::Chunk*      Segment::toChunk        ()
 {
     Chunk *chunk = new Chunk();
@@ -123,8 +113,3 @@ const Representation *Segment::getParentRepresentation() const
 {
     return this->parentRepresentation;
 }
-
-int Segment::getSize() const
-{
-    return this->size;
-}
index 880db4a664541a31d59f5f5587be78325699a1c9..74fb21a06dbf3bf099a9927cd97c02f53f14f348 100644 (file)
@@ -51,13 +51,9 @@ namespace dash
                 virtual bool                            isSingleShot    () const;
                 virtual void                            done            ();
                 virtual void                            addBaseUrl      (BaseUrl *url);
-                virtual const std::vector<BaseUrl *>&   getBaseUrls     () const;
                 virtual void                            setByteRange    (int start, int end);
-                virtual int                             getStartByte    () const;
-                virtual int                             getEndByte      () const;
                 virtual dash::http::Chunk*              toChunk         ();
                 const Representation*                   getParentRepresentation() const;
-                virtual int                             getSize() const;
 
             protected:
                 std::string             sourceUrl;