[vlc-commits] demux: hls: add probing by mime type fallback
Francois Cartegnie
git at videolan.org
Tue Jul 23 20:36:17 CEST 2019
vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Feb 21 13:24:39 2018 +0100| [5b650e1a9b1d546703e7613bebf38549967e6478] | committer: Francois Cartegnie
demux: hls: add probing by mime type fallback
(cherry picked from commit c8ba5435acd96605dd1585b30432a26a30aeaf63)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=5b650e1a9b1d546703e7613bebf38549967e6478
---
modules/demux/hls/HLSStreams.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/demux/hls/HLSStreams.cpp b/modules/demux/hls/HLSStreams.cpp
index cf26d6f21d..30cb2640bf 100644
--- a/modules/demux/hls/HLSStreams.cpp
+++ b/modules/demux/hls/HLSStreams.cpp
@@ -150,6 +150,10 @@ AbstractDemuxer *HLSStream::newDemux(demux_t *p_realdemux, const StreamFormat &f
break;
*/
+ case StreamFormat::UNKNOWN:
+ ret = new MimeDemuxer(p_realdemux, this, out, source);
+ break;
+
default:
case StreamFormat::UNSUPPORTED:
break;
More information about the vlc-commits
mailing list