vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sun May 13 
23:05:08 2018 +0300| [9f6f89387c2e741005613fc609aa795886c66e14] | committer: 
Rémi Denis-Courmont

extractor: use common cache filter name

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

 src/input/stream_extractor.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/input/stream_extractor.c b/src/input/stream_extractor.c
index 4a2cfcf493..7ccc4b6296 100644
--- a/src/input/stream_extractor.c
+++ b/src/input/stream_extractor.c
@@ -270,11 +270,7 @@ se_AttachWrapper( struct stream_extractor_private* priv, 
stream_t* source )
 
     priv->source = source;
 
-    if( priv->wrapper->pf_read )
-        priv->wrapper = stream_FilterChainNew( priv->wrapper, "cache_read" );
-    else if( priv->wrapper->pf_block )
-        priv->wrapper = stream_FilterChainNew( priv->wrapper, "cache_block" );
-
+    priv->wrapper = stream_FilterChainNew( priv->wrapper, "cache" );
     return VLC_SUCCESS;
 }
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to