[vlc-devel] commit: Removed debug leftover (avcodec). (Laurent Aimar )
git version control
git at videolan.org
Thu Oct 9 19:30:28 CEST 2008
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu Oct 9 19:23:40 2008 +0200| [22376246f559b3950a0106211c76c0a2d95b8364] | committer: Laurent Aimar
Removed debug leftover (avcodec).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=22376246f559b3950a0106211c76c0a2d95b8364
---
modules/codec/avcodec/video.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index c27856c..a3dd162 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -593,7 +593,7 @@ picture_t *DecodeVideo( decoder_t *p_dec, block_t **pp_block )
mtime_t i_display_date = 0;
if( !(p_block->i_flags & BLOCK_FLAG_PREROLL) )
i_display_date = decoder_GetDisplayDate( p_dec, p_sys->i_pts );
- i_display_date = 0;
+
if( i_display_date > 0 && i_display_date <= mdate() )
{
p_sys->i_late_frames++;
More information about the vlc-devel
mailing list