[vlc-commits] Revert "lua: use inflate rather than decomp stream filter"

Rémi Denis-Courmont git at videolan.org
Sun Jul 23 08:30:33 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 23 09:27:25 2017 +0300| [603cbf291c355deacb2827869843acc38675c810] | committer: Rémi Denis-Courmont

Revert "lua: use inflate rather than decomp stream filter"

This reverts commit 268a46a0559c11abc95d32b7e26a706934d53623.

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

 modules/lua/libs/stream.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/lua/libs/stream.c b/modules/lua/libs/stream.c
index 8b09302fd7..1e3bd41644 100644
--- a/modules/lua/libs/stream.c
+++ b/modules/lua/libs/stream.c
@@ -86,13 +86,13 @@ static int vlclua_stream_new( lua_State *L )
     const char * psz_url = luaL_checkstring( L, 1 );
     stream_t *p_stream = vlc_stream_NewURL( p_this, psz_url );
 
-    /* XXX: For hysterical raisins, append one inflate decompression stream
-     * filter automatically (if applicable). */
+    /* XXX: For hysterical raisins, append one stream decompression filter
+     * automatically (if applicable). */
     if( p_stream != NULL )
     {
-        stream_t *inflated = vlc_stream_FilterNew( p_stream, "inflate" );
-        if( inflated != NULL )
-            p_stream = inflated;
+        stream_t *uncompressed = vlc_stream_FilterNew( p_stream, "decomp" );
+        if( uncompressed != NULL )
+            p_stream = uncompressed;
     }
     return vlclua_stream_new_inner( L, p_stream );
 }



More information about the vlc-commits mailing list