[vlc-commits] avcodec: remove stray comments

Rémi Denis-Courmont git at videolan.org
Sun Sep 27 21:55:00 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Sep 26 20:37:09 2015 +0300| [7c65a4f813dfc57353ecc1e0c9d689f0687c67e9] | committer: Rémi Denis-Courmont

avcodec: remove stray comments

This hack was disabled twelve years ago...

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

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

diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index 89b39ab..04606f9 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -398,8 +398,6 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context,
         p_sys->b_direct_rendering = true;
     }
 
-    /* libavcodec doesn't properly release old pictures when frames are skipped */
-    //if( p_sys->b_hurry_up ) p_sys->b_direct_rendering = false;
     if( p_sys->b_direct_rendering )
     {
         msg_Dbg( p_dec, "trying to use direct rendering" );



More information about the vlc-commits mailing list