* Fixed a typo in my previous commit.
* input.h: structures of the input not exported to other modules
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
- * $Id: input.h,v 1.28 2001/02/08 17:44:12 massiot Exp $
+ * $Id: input.h,v 1.29 2001/02/12 13:20:14 massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
* of data loss (this should be < 188). */
#define PADDING_PACKET_NUMBER 10 /* Number of padding packets top insert to
* escape a decoder. */
+#define NO_SEEK -1
/*****************************************************************************
* Prototypes from input_ext-dec.c
* decoders.
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
- * $Id: input.c,v 1.79 2001/02/11 01:15:11 sam Exp $
+ * $Id: input.c,v 1.80 2001/02/12 13:20:14 massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
p_input->stream.i_selected_es_number = 0;
p_input->stream.i_pgrm_number = 0;
p_input->stream.i_new_status = p_input->stream.i_new_rate = 0;
- p_input->stream.i_seek = 0;
+ p_input->stream.i_seek = NO_SEEK;
/* Initialize stream control properties. */
p_input->stream.control.i_status = PLAYING_S;
#endif
vlc_mutex_lock( &p_input->stream.stream_lock );
- if( p_input->stream.i_seek )
+ if( p_input->stream.i_seek != NO_SEEK )
{
if( p_input->stream.b_seekable && p_input->pf_seek != NULL )
{
p_pgrm->i_synchro_state = SYNCHRO_REINIT;
}
}
- p_input->stream.i_seek = 0;
+ p_input->stream.i_seek = NO_SEEK;
}
vlc_mutex_unlock( &p_input->stream.stream_lock );
* vpar_synchro.c : frame dropping routines
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
- * $Id: vpar_synchro.c,v 1.83 2001/02/12 11:22:31 massiot Exp $
+ * $Id: vpar_synchro.c,v 1.84 2001/02/12 13:20:15 massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Samuel Hocevar <sam@via.ecp.fr>
if( p_vpar->synchro.backward_pts + DEFAULT_PTS_DELAY < now )
{
/* The same. */
- p_vpar->synchro.current_pts = 0;
+ p_vpar->synchro.backward_pts = 0;
}
#ifdef STATS