[vlc-commits] core: ask video decoder to return its buffered pictures

Rafaël Carré git at videolan.org
Mon Jan 13 16:10:54 CET 2014


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Jan 13 16:02:58 2014 +0100| [fc3d0d50b0dd0007f966cccd6cf900fdc13491f9] | committer: Rafaël Carré

core: ask video decoder to return its buffered pictures

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

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

diff --git a/src/input/decoder.c b/src/input/decoder.c
index a97858e..d7caf2d 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -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 );
     }



More information about the vlc-commits mailing list