[vlc-commits] demux: adaptive: map aac MIME type

Francois Cartegnie git at videolan.org
Wed Aug 28 21:09:08 CEST 2019


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Aug 28 14:06:32 2019 +0200| [244f8f73e5024733e63883e300059fe8f7980b17] | committer: Francois Cartegnie

demux: adaptive: map aac MIME type

regression by a047b31b978e4a3bd86b3c1a8f7dec9281d1a056

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

 modules/demux/adaptive/StreamFormat.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/demux/adaptive/StreamFormat.cpp b/modules/demux/adaptive/StreamFormat.cpp
index 7d03203417..b8cc33da26 100644
--- a/modules/demux/adaptive/StreamFormat.cpp
+++ b/modules/demux/adaptive/StreamFormat.cpp
@@ -74,6 +74,8 @@ StreamFormat::StreamFormat( const std::string &mimetype )
         std::string tail = mime.substr(pos + 1);
         if(tail == "mp4")
             formatid = StreamFormat::MP4;
+        else if(tail == "aac")
+            formatid = StreamFormat::PACKEDAAC;
         else if (tail == "mp2t")
             formatid = StreamFormat::MPEG2TS;
         else if (tail == "vtt")



More information about the vlc-commits mailing list