[vlc-commits] avcodec: fix warning to mention correct late frame amount

Ilkka Ollakka git at videolan.org
Wed Sep 7 11:16:43 CEST 2016


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Sat Jun  4 13:15:38 2016 +0300| [09ada3168760b51635dea964ad7756cb41d2e33f] | committer: Ilkka Ollakka

avcodec: fix warning to mention correct late frame amount

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

 modules/codec/avcodec/video.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index bd9aae3..75fd10b 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -719,7 +719,7 @@ static picture_t *DecodeVideo( decoder_t *p_dec, block_t **pp_block )
             p_sys->i_late_frames--; /* needed else it will never be decrease */
             if( p_block )
                 block_Release( p_block );
-            msg_Warn( p_dec, "More than 4 late frames, dropping frame" );
+            msg_Warn( p_dec, "More than 11 late frames, dropping frame" );
             return NULL;
         }
     }



More information about the vlc-commits mailing list