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

Francois Cartegnie git at videolan.org
Mon Jul 30 10:16:58 CEST 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Jul 30 10:03:55 2018 +0200| [d529b79a8d5812f00550e3033ef51d23eb53c7f8] | 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

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

 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 9018597f8b..6cd8b9d5a1 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