vlc/vlc-3.0 | branch: master | Francois Cartegnie <[email protected]> | 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;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to