[vlc-commits] [Git][videolan/vlc][master] 2 commits: demux: hls: fix lazy loaded playlists timescale
François Cartegnie (@fcartegnie)
gitlab at videolan.org
Mon Mar 27 15:16:37 UTC 2023
François Cartegnie pushed to branch master at VideoLAN / VLC
Commits:
75f57e3a by Francois Cartegnie at 2023-03-27T14:57:29+00:00
demux: hls: fix lazy loaded playlists timescale
- - - - -
fcd6a9b6 by Francois Cartegnie at 2023-03-27T14:57:29+00:00
demux: hls: use internal max resolution define instead of raw value
- - - - -
1 changed file:
- modules/demux/hls/playlist/Parser.cpp
Changes:
=====================================
modules/demux/hls/playlist/Parser.cpp
=====================================
@@ -101,6 +101,8 @@ HLSRepresentation * M3U8Parser::createRepresentation(BaseAdaptationSet *adaptSet
HLSRepresentation *rep = new (std::nothrow) HLSRepresentation(adaptSet);
if(rep)
{
+ rep->addAttribute(new TimescaleAttr(Timescale(CLOCK_FREQ)));
+
if(uriAttr)
{
std::string uri;
@@ -154,7 +156,6 @@ void M3U8Parser::createAndFillRepresentation(vlc_object_t *p_obj, BaseAdaptation
HLSRepresentation *rep = createRepresentation(adaptSet, tag);
if(rep)
{
- rep->addAttribute(new TimescaleAttr(Timescale(1000000)));
parseSegments(p_obj, rep, tagslist);
adaptSet->addRepresentation(rep);
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/0f19973e396eecbae2c0483213413d8e7d4aadf6...fcd6a9b637c15d49bb7be23e10d5d3085b5a7c72
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/0f19973e396eecbae2c0483213413d8e7d4aadf6...fcd6a9b637c15d49bb7be23e10d5d3085b5a7c72
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