Commit d3b03289 authored by Laurent Aimar's avatar Laurent Aimar

* ffmpeg: stop skipping video sometime ;).

parent e4ef10de
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* video.c: video decoder using ffmpeg library * video.c: video decoder using ffmpeg library
***************************************************************************** *****************************************************************************
* Copyright (C) 1999-2001 VideoLAN * Copyright (C) 1999-2001 VideoLAN
* $Id: video.c,v 1.23 2003/04/26 22:06:12 fenrir Exp $ * $Id: video.c,v 1.24 2003/04/27 13:03:28 fenrir Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com> * Gildas Bazin <gbazin@netcourrier.com>
...@@ -453,7 +453,7 @@ void E_( DecodeThread_Video )( vdec_thread_t *p_vdec ) ...@@ -453,7 +453,7 @@ void E_( DecodeThread_Video )( vdec_thread_t *p_vdec )
i_pts = p_pes->i_pts; i_pts = p_pes->i_pts;
input_DeletePES( p_vdec->p_fifo->p_packets_mgt, p_pes ); input_DeletePES( p_vdec->p_fifo->p_packets_mgt, p_pes );
} while( i_pts <= 0 || i_pts < mdate() + DEFAULT_PTS_DELAY ); } while( i_pts <= 0 || i_pts < mdate() );
} }
if( !p_vdec->p_context->width || !p_vdec->p_context->height ) if( !p_vdec->p_context->width || !p_vdec->p_context->height )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment