[vlc-commits] Revert "lua: add decompression stream filter automatically (fixes #17132)"

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


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 23 09:30:13 2017 +0300| [578eff50c11e93667a7a7bff5ecea39468ada01f] | committer: Rémi Denis-Courmont

Revert "lua: add decompression stream filter automatically (fixes #17132)"

This reverts commit dcd3a45eb4b1a950ffd4974ca1c5a915481da9bc.

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

 modules/lua/libs/stream.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/modules/lua/libs/stream.c b/modules/lua/libs/stream.c
index 1e3bd41644..d051a15024 100644
--- a/modules/lua/libs/stream.c
+++ b/modules/lua/libs/stream.c
@@ -85,15 +85,6 @@ static int vlclua_stream_new( lua_State *L )
     vlc_object_t * p_this = vlclua_get_this( 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 stream decompression filter
-     * automatically (if applicable). */
-    if( p_stream != NULL )
-    {
-        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