[vlc-devel] [PATCH 4/4] resource: flush the kept vout using vout_FlushAll()

Steve Lhomme robux4 at ycbcr.xyz
Tue Jul 3 12:00:04 CEST 2018


---
 src/input/resource.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/resource.c b/src/input/resource.c
index f806cfeb2c..8b88bb5d63 100644
--- a/src/input/resource.c
+++ b/src/input/resource.c
@@ -273,7 +273,7 @@ static vout_thread_t *RequestVout( input_resource_t *p_resource,
         else
         {
             msg_Dbg( p_resource->p_parent, "saving a free vout" );
-            vout_Flush( p_vout, 1 );
+            vout_FlushAll( p_vout );
             vout_FlushSubpictureChannel( p_vout, -1 );
 
             vout_configuration_t cfg = {
-- 
2.17.0



More information about the vlc-devel mailing list