vlc | branch: master | Francois Cartegnie <[email protected]> | Mon Jan 16 14:44:36 2017 +0100| [e75ad5b596bbee05480df8d5e3731b3b5ca9a4b6] | committer: Francois Cartegnie
adaptive: smooth: map streamindex name as description > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e75ad5b596bbee05480df8d5e3731b3b5ca9a4b6 --- modules/demux/smooth/playlist/Parser.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/demux/smooth/playlist/Parser.cpp b/modules/demux/smooth/playlist/Parser.cpp index 82d5430..eb16da4 100644 --- a/modules/demux/smooth/playlist/Parser.cpp +++ b/modules/demux/smooth/playlist/Parser.cpp @@ -222,6 +222,9 @@ static void ParseStreamIndex(BasePeriod *period, Node *streamIndexNode, unsigned if(streamIndexNode->hasAttribute("Language")) adaptSet->addLang(streamIndexNode->getAttributeValue("Language")); + if(streamIndexNode->hasAttribute("Name")) + adaptSet->description.Set(streamIndexNode->getAttributeValue("Name")); + if(streamIndexNode->hasAttribute("TimeScale")) adaptSet->setTimescale(Integer<uint64_t>(streamIndexNode->getAttributeValue("TimeScale"))); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
