[vlc-commits] [Git][videolan/vlc][3.0.x] demux: dash: have startnumber default when parsing timelines
Hugo Beauzée-Luyssen (@chouquette)
gitlab at videolan.org
Tue Aug 2 06:16:16 UTC 2022
Hugo Beauzée-Luyssen pushed to branch 3.0.x at VideoLAN / VLC
Commits:
cdcf450c by Francois Cartegnie at 2022-08-01T08:06:20+02:00
demux: dash: have startnumber default when parsing timelines
refs #27164
(cherry picked from commit 9ba23e7d581144ffe3e3fad00d2d43ccdce21d43)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
- - - - -
1 changed file:
- modules/demux/dash/mpd/IsoffMainParser.cpp
Changes:
=====================================
modules/demux/dash/mpd/IsoffMainParser.cpp
=====================================
@@ -507,6 +507,8 @@ void IsoffMainParser::parseTimeline(Node *node, AbstractMultipleSegmentBaseType
number = Integer<uint64_t>(node->getAttributeValue("startNumber"));
else if(base->inheritStartNumber())
number = base->inheritStartNumber();
+ if(number == std::numeric_limits<uint64_t>::max())
+ number = 1;
SegmentTimeline *timeline = new (std::nothrow) SegmentTimeline(base);
if(timeline)
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/cdcf450c8ef00c682af82a66e889022bfdb91d39
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/cdcf450c8ef00c682af82a66e889022bfdb91d39
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list