do the mwait and re-init last-cr so that there no date irregularity.
Such a thing is necessary for dvd playback at cell change ; however,
Meuuh, could you look at that since you might think we should do
otherwise.
-turned the "bitsream callback discontinuity" message to debug.
-removed modification of the title environnement variable in input dvd
at title change since we no longer restart the input at title change.
* -dvd_udf to find files
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
- * $Id: input_dvd.c,v 1.52 2001/04/29 02:48:51 stef Exp $
+ * $Id: input_dvd.c,v 1.53 2001/04/29 14:52:42 stef Exp $
*
* Author: Stéphane Borel <stef@via.ecp.fr>
*
/* uodate title environnement variable so that we don't
* loop on the same title forever */
- main_PutIntVariable( INPUT_TITLE_VAR, p_dvd->i_title + 1 );
+// main_PutIntVariable( INPUT_TITLE_VAR, p_dvd->i_title + 1 );
/* ifo vts */
if( IfoTitleSet( p_dvd->p_ifo ) < 0 )
* input_clock.c: Clock/System date convertions, stream management
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
- * $Id: input_clock.c,v 1.12 2001/04/28 23:19:19 henri Exp $
+ * $Id: input_clock.c,v 1.13 2001/04/29 14:52:42 stef Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
/* Feed synchro with a new reference point. */
ClockNewRef( p_input, p_pgrm, i_clock, mdate() );
p_pgrm->i_synchro_state = SYNCHRO_OK;
+
+ if( p_input->stream.b_pace_control
+ && p_input->stream.pp_programs[0] == p_pgrm )
+ {
+ p_pgrm->last_cr = i_clock;
+ mwait( ClockToSysdate( p_input, p_pgrm, i_clock ) );
+ }
}
else
{
* video_parser.c : video parser thread
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
- * $Id: video_parser.c,v 1.80 2001/04/28 03:36:25 sam Exp $
+ * $Id: video_parser.c,v 1.81 2001/04/29 14:52:42 stef Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Samuel Hocevar <sam@via.ecp.fr>
if( DECODER_FIFO_START( *p_bit_stream->p_decoder_fifo )->b_discontinuity )
{
- intf_WarnMsg( 1, "Discontinuity in BitstreamCallback" );
+#ifdef TRACE_VPAR
+ intf_DbgMsg( "Discontinuity in BitstreamCallback" );
+#endif
/* Escape the current picture and reset the picture predictors. */
p_vpar->sequence.b_expect_discontinuity = 1;
p_vpar->picture.b_error = 1;
if( p_bit_stream->p_data->b_discard_payload )
{
- intf_WarnMsg( 1, "Discard payload in BitstreamCallback" );
+#ifdef TRACE_VPAR
+ intf_DbgMsg( "Discard payload in BitstreamCallback" );
+#endif
/* 1 packet messed up, trash the slice. */
p_vpar->picture.b_error = 1;
}