#include <string.h> /* strerror() */
#include <vlc/vlc.h>
-
-#include "stream_control.h"
-#include "input_ext-intf.h"
+#include <vlc/input.h>
#include "audio_output.h"
* Preamble
*****************************************************************************/
#include <vlc/vlc.h>
+#include <vlc/input.h>
#ifdef HAVE_ERRNO_H
# include <errno.h> /* ENOMEM */
#include "vlc_error.h"
-#include "stream_control.h"
-#include "input_ext-intf.h"
-
#include "vlc_playlist.h"
#include "vlc_interface.h"
vlc_object_release( p_input );
if( i_object ) vlc_object_release( p_vlc );
- return val.f_float / DEFAULT_RATE;
+ return val.f_float / INPUT_RATE_DEFAULT;
}
/**
vlc_object_release( p_input );
if( i_object ) vlc_object_release( p_vlc );
- return val.f_float / DEFAULT_RATE;
+ return val.f_float / INPUT_RATE_DEFAULT;
}
/**
var_Set( p_input, "deinterlace-mode", val );
}
+ /* FIXME FIXME input2 --fenrir */
+#if 0
/* now restart all video streams */
vlc_mutex_lock( &p_input->stream.stream_lock );
vlc_mutex_unlock( &p_input->stream.stream_lock );
vlc_object_release( p_input );
+#endif
val.b_bool = VLC_TRUE;
var_Set( p_vout, "intf-change", val );
msg_Err( p_vout, "Input not found" );
return( VLC_EGENERIC );
}
+
+ /* FIXME FIXME input2 --fenrir */
+#if 0
/* Restart the video stream */
vlc_mutex_lock( &p_input->stream.stream_lock );
vlc_mutex_unlock( &p_input->stream.stream_lock );
vlc_object_release( p_input );
+#endif
val.b_bool = VLC_TRUE;
var_Set( p_vout, "intf-change", val );
* vout_synchro.c : frame dropping routines
*****************************************************************************
* Copyright (C) 1999-2004 VideoLAN
- * $Id: vout_synchro.c,v 1.7 2004/01/25 17:16:06 zorglub Exp $
+ * $Id$
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Samuel Hocevar <sam@via.ecp.fr>
#include <vlc/vlc.h>
#include <vlc/vout.h>
+#include <vlc/input.h>
#include "vout_synchro.h"
-#include "stream_control.h"
/*
* Local prototypes
now = mdate();
period = 1000000 * 1001 / p_synchro->i_frame_rate
- * p_synchro->i_current_rate / DEFAULT_RATE;
+ * p_synchro->i_current_rate / INPUT_RATE_DEFAULT;
p_synchro->i_render_time = i_render_time;
mtime_t next_dts, int i_current_rate )
{
mtime_t period = 1000000 * 1001 / p_synchro->i_frame_rate
- * i_current_rate / DEFAULT_RATE;
+ * i_current_rate / INPUT_RATE_DEFAULT;
#if 0
mtime_t now = mdate();
#endif