[vlc-commits] demux: adaptive: force access for manifests & keys

Francois Cartegnie git at videolan.org
Mon Jul 30 12:21:06 CEST 2018


vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Jul 30 10:03:55 2018 +0200| [b6c28019e4fa700afa31f40b01b07241d17a8dec] | committer: Francois Cartegnie

demux: adaptive: force access for manifests & keys

ok because, single file, no range, no pipelining.
workarounds missing compression w/ huge yt manifests

(cherry picked from commit d529b79a8d5812f00550e3033ef51d23eb53c7f8)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=b6c28019e4fa700afa31f40b01b07241d17a8dec
---

 modules/demux/adaptive/tools/Retrieve.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/adaptive/tools/Retrieve.cpp b/modules/demux/adaptive/tools/Retrieve.cpp
index 188506d59c..6d5921ff1e 100644
--- a/modules/demux/adaptive/tools/Retrieve.cpp
+++ b/modules/demux/adaptive/tools/Retrieve.cpp
@@ -37,7 +37,7 @@ block_t * Retrieve::HTTP(vlc_object_t *obj, AuthStorage *auth, const std::string
     HTTPChunk *datachunk;
     try
     {
-        datachunk = new HTTPChunk(uri, &connManager, ID());
+        datachunk = new HTTPChunk(uri, &connManager, ID(), true);
     } catch (int) {
         return NULL;
     }



More information about the vlc-commits mailing list