[vlc-commits] demux: smooth: fix timeline timescale from Stream

Francois Cartegnie git at videolan.org
Fri May 17 16:08:19 CEST 2019


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri May 17 16:05:17 2019 +0200| [0a596d4572137de3faea655d92d946c1c54c4f93] | committer: Francois Cartegnie

demux: smooth: fix timeline timescale from Stream

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

 modules/demux/smooth/playlist/Parser.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/smooth/playlist/Parser.cpp b/modules/demux/smooth/playlist/Parser.cpp
index b53513c862..85c8d76cfc 100644
--- a/modules/demux/smooth/playlist/Parser.cpp
+++ b/modules/demux/smooth/playlist/Parser.cpp
@@ -239,7 +239,7 @@ static void ParseStreamIndex(BasePeriod *period, Node *streamIndexNode, unsigned
             if(templ)
             {
                 templ->setSourceUrl(url);
-                SegmentTimeline *timeline = createTimeline(streamIndexNode, period->inheritTimescale());
+                SegmentTimeline *timeline = createTimeline(streamIndexNode, adaptSet->inheritTimescale());
                 templ->setSegmentTimeline(timeline);
                 adaptSet->setSegmentTemplate(templ);
             }



More information about the vlc-commits mailing list