vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Fri Jan 18 
19:44:33 2019 +0200| [92427d79236671573d0d6497f8ca9b94ebb7bbb4] | committer: 
Rémi Denis-Courmont

resource: remove (now) dead code

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

 src/input/resource.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/src/input/resource.c b/src/input/resource.c
index cd18508b86..fd7d855a76 100644
--- a/src/input/resource.c
+++ b/src/input/resource.c
@@ -199,16 +199,6 @@ static vout_thread_t *RequestVout( input_resource_t 
*p_resource,
 {
     vlc_mutex_assert( &p_resource->lock );
 
-    if( !req_cfg )
-    {
-        if( p_resource->p_vout_free )
-        {
-            msg_Dbg( p_resource->p_vout_free, "destroying useless vout" );
-            vout_CloseAndRelease( p_resource->p_vout_free );
-            p_resource->p_vout_free = NULL;
-        }
-        return NULL;
-    }
     vout_configuration_t cfg = *req_cfg;
 
     if( cfg.fmt )

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

Reply via email to