[vlc-devel] commit: Revert [f5060d12c31af094d9105143c88371487ff2c72c] ( seek speed improvment) (Laurent Aimar )

git version control git at videolan.org
Mon Mar 23 21:44:24 CET 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Mar 23 21:42:09 2009 +0100| [a11f03246cdf9c2f2bee3070044f9ea0076668b7] | committer: Laurent Aimar 

Revert [f5060d12c31af094d9105143c88371487ff2c72c] (seek speed improvment)

It creates broken pictures and should be investigated.

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

 modules/codec/avcodec/video.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index cf2171b..2748d46 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -500,9 +500,13 @@ picture_t *DecodeVideo( decoder_t *p_dec, block_t **pp_block )
     }
     else if( !b_drawpicture )
     {
+        /* It creates broken picture
+         * FIXME either our parser or ffmpeg is broken */
+#if 0
         if( p_sys->b_hurry_up )
             p_sys->p_context->skip_frame = __MAX( p_sys->p_context->skip_frame,
                                                   AVDISCARD_NONREF );
+#endif
     }
 
     /*




More information about the vlc-devel mailing list