[vlc-devel] [PATCH] demux/hls: enable avformat for MPEG2TS
Zhao Zhili
wantlamy at gmail.com
Fri Jul 7 06:06:05 CEST 2017
---
modules/demux/hls/HLSStreams.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/hls/HLSStreams.cpp
b/modules/demux/hls/HLSStreams.cpp
index aaea520..089b87b 100644
--- a/modules/demux/hls/HLSStreams.cpp
+++ b/modules/demux/hls/HLSStreams.cpp
@@ -78,7 +78,7 @@ AbstractDemuxer * HLSStream::createDemux(const
StreamFormat &format)
break;
case StreamFormat::MPEG2TS:
- ret = new Demuxer(p_realdemux, "ts", fakeesout->getEsOut(),
demuxersource);
+ ret = new Demuxer(p_realdemux, "ts,avformat",
fakeesout->getEsOut(), demuxersource);
if(ret)
ret->setCanDetectSwitches(false); /* HLS and unique
PAT/PMT versions */
break;
--
2.7.4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20170707/25874b71/attachment.html>
More information about the vlc-devel
mailing list