]> git.sesse.net Git - vlc/commitdiff
Flush vout on release.
authorLaurent Aimar <fenrir@videolan.org>
Mon, 5 Jan 2009 20:25:39 +0000 (21:25 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 5 Jan 2009 20:25:39 +0000 (21:25 +0100)
src/input/ressource.c

index 147a2c59fc00886aedf65d31026726abe12eff02..a3ba9940c3d8f554186ed4f9791a19757baab87a 100644 (file)
@@ -216,6 +216,7 @@ static vout_thread_t *RequestVout( input_ressource_t *p_ressource,
         else
         {
             msg_Dbg( p_ressource->p_input, "saving a free vout" );
+            vout_Flush( p_vout, 1 );
             p_ressource->p_vout_free = p_vout;
         }
         return NULL;