[vlc-commits] resource: flush the kept vout using vout_FlushAll()

Steve Lhomme git at videolan.org
Wed Jul 4 08:59:07 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jul  3 11:58:51 2018 +0200| [29e076479b31029c7a12cd0c8761b0d1e5d2926d] | committer: Steve Lhomme

resource: flush the kept vout using vout_FlushAll()

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

 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 = {



More information about the vlc-commits mailing list