[vlc-commits] demux:smooth: ForgedInitSegment is initialized with an vlc_tick_t duration

Steve Lhomme git at videolan.org
Tue Sep 18 14:08:14 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jun 11 15:23:59 2018 +0200| [6e23c8a90a545484d0a558ed5fcbb647fbc55903] | committer: Steve Lhomme

demux:smooth: ForgedInitSegment is initialized with an vlc_tick_t duration

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6e23c8a90a545484d0a558ed5fcbb647fbc55903
---

 modules/demux/smooth/playlist/ForgedInitSegment.cpp | 2 +-
 modules/demux/smooth/playlist/ForgedInitSegment.hpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/demux/smooth/playlist/ForgedInitSegment.cpp b/modules/demux/smooth/playlist/ForgedInitSegment.cpp
index f5ce10188a..631e580ac9 100644
--- a/modules/demux/smooth/playlist/ForgedInitSegment.cpp
+++ b/modules/demux/smooth/playlist/ForgedInitSegment.cpp
@@ -42,7 +42,7 @@ using namespace smooth::http;
 ForgedInitSegment::ForgedInitSegment(ICanonicalUrl *parent,
                                      const std::string &type_,
                                      uint64_t timescale_,
-                                     uint64_t duration_) :
+                                     vlc_tick_t duration_) :
     InitSegment(parent), TimescaleAble()
 {
     type = type_;
diff --git a/modules/demux/smooth/playlist/ForgedInitSegment.hpp b/modules/demux/smooth/playlist/ForgedInitSegment.hpp
index 9dd60bc7e6..e132e5cbb2 100644
--- a/modules/demux/smooth/playlist/ForgedInitSegment.hpp
+++ b/modules/demux/smooth/playlist/ForgedInitSegment.hpp
@@ -38,7 +38,7 @@ namespace smooth
         {
             public:
                 ForgedInitSegment(ICanonicalUrl *parent, const std::string &,
-                                  uint64_t, uint64_t);
+                                  uint64_t, vlc_tick_t);
                 virtual ~ForgedInitSegment();
                 virtual SegmentChunk* toChunk(size_t, BaseRepresentation *, AbstractConnectionManager *); /* reimpl */
                 void setWaveFormatEx(const std::string &);



More information about the vlc-commits mailing list