]> git.sesse.net Git - vlc/commitdiff
core: ask video decoder to return its buffered pictures
authorRafaël Carré <funman@videolan.org>
Mon, 13 Jan 2014 15:02:58 +0000 (16:02 +0100)
committerRafaël Carré <funman@videolan.org>
Mon, 13 Jan 2014 15:02:58 +0000 (16:02 +0100)
src/input/decoder.c

index a97858efffb75ce2ffe687018b9ff22f567c113e..d7caf2d0c82f3a225b3586f141f247eddfea70b7 100644 (file)
@@ -1591,7 +1591,7 @@ static void DecoderProcessVideo( decoder_t *p_dec, block_t *p_block, bool b_flus
                 DecoderDecodeVideo( p_dec, p_null );
         }
     }
-    else if( p_block )
+    else
     {
         DecoderDecodeVideo( p_dec, p_block );
     }