[vlc-commits] [Git][videolan/vlc][master] demux: hls: re-enable subtitles

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Fri Nov 4 16:19:18 UTC 2022



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
213413f4 by Francois Cartegnie at 2022-11-04T16:02:00+00:00
demux: hls: re-enable subtitles

regression after a54d02b0c9a5b0a2073f393a33235d9adfd6c25d

- - - - -


1 changed file:

- modules/demux/hls/playlist/Parser.cpp


Changes:

=====================================
modules/demux/hls/playlist/Parser.cpp
=====================================
@@ -171,7 +171,7 @@ void M3U8Parser::fillRepresentationFromMediainfo(const AttributesTag *mediatag,
             rep->setChannelsCount(std::atoi(channelsAttr->quotedString().c_str()));
     }
 
-    if(type != "AUDIO" && type != "VIDEO")
+    if(type != "AUDIO" && type != "VIDEO" && type != "SUBTITLES")
     {
         rep->streamFormat = StreamFormat(StreamFormat::Type::Unsupported);
     }



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/213413f4c6b3ca724c42d83b3e01d11d947c9ef3

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/213413f4c6b3ca724c42d83b3e01d11d947c9ef3
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