[vlc-devel] [PATCH 1/2] avi: Fix missing frames when playing unseekable streams (refs #2151)

Samuel Pitoiset samuel.pitoiset at gmail.com
Tue Aug 21 20:48:36 CEST 2012


---
 modules/demux/avi/avi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c
index 5490296..f2579b8 100644
--- a/modules/demux/avi/avi.c
+++ b/modules/demux/avi/avi.c
@@ -1249,7 +1249,7 @@ static int Demux_UnSeekable( demux_t *p_demux )
         {
             /* check for time */
             if( __ABS( AVI_GetPTS( p_stream ) -
-                        AVI_GetPTS( p_stream_master ) )< 600*1000 )
+                        AVI_GetPTS( p_stream_master ) ) > -1*1000 )
             {
                 /* load it and send to decoder */
                 block_t *p_frame;
-- 
1.7.11.3




More information about the vlc-devel mailing list