[vlc-commits] demux: adaptive: inflate streamUrl streams
Francois Cartegnie
git at videolan.org
Tue Jul 11 12:23:01 CEST 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Jul 11 12:19:38 2017 +0200| [4526db9b5a92ee893a2dc40bff39edaed15c73c2] | committer: Francois Cartegnie
demux: adaptive: inflate streamUrl streams
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4526db9b5a92ee893a2dc40bff39edaed15c73c2
---
modules/demux/adaptive/http/HTTPConnection.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/demux/adaptive/http/HTTPConnection.cpp b/modules/demux/adaptive/http/HTTPConnection.cpp
index a250d87ccd..03156c634a 100644
--- a/modules/demux/adaptive/http/HTTPConnection.cpp
+++ b/modules/demux/adaptive/http/HTTPConnection.cpp
@@ -427,6 +427,10 @@ int StreamUrlConnection::request(const std::string &path, const BytesRange &rang
if(!p_streamurl)
return VLC_EGENERIC;
+ stream_t *p_chain = vlc_stream_FilterNew( p_streamurl, "inflate" );
+ if( p_chain )
+ p_streamurl = p_chain;
+
if(range.isValid() && range.getEndByte() > 0)
{
if(vlc_stream_Seek(p_streamurl, range.getStartByte()) != VLC_SUCCESS)
More information about the vlc-commits
mailing list