[vlc-commits] demux: smooth: feed codecs

Francois Cartegnie git at videolan.org
Fri May 10 11:20:01 CEST 2019


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Apr 26 17:50:11 2019 +0200| [84f943b4d8e503ce7157dfdc78b98e3c640775e7] | committer: Francois Cartegnie

demux: smooth: feed codecs

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

 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 fd14bcbd20..9575f3ba5f 100644
--- a/modules/demux/smooth/playlist/Parser.cpp
+++ b/modules/demux/smooth/playlist/Parser.cpp
@@ -165,6 +165,9 @@ static void ParseQualityLevel(BaseAdaptationSet *adaptSet, Node *qualNode, const
             else if(qualNode->hasAttribute("Height"))
                 rep->setHeight(Integer<uint64_t>(qualNode->getAttributeValue("Height")));
 
+            if(qualNode->hasAttribute("FourCC"))
+                rep->addCodecs(qualNode->getAttributeValue("FourCC"));
+
             ForgedInitSegment *initSegment = new (std::nothrow)
                     ForgedInitSegment(segmentList, type,
                                       adaptSet->inheritTimescale(),



More information about the vlc-commits mailing list