#include "input_internal.h"
#include "vlc_playlist.h"
-#include "iso_lang.h"
+#include <vlc_iso_lang.h>
/* FIXME we should find a better way than including that */
#include "../text/iso-639_def.h"
else
i_delay = 0;
- if( p_input->p_libvlc->b_stats )
+ if( libvlc_stats (p_input) )
{
vlc_mutex_lock( &p_input->p->counters.counters_lock );
stats_UpdateInteger( p_input, p_input->p->counters.p_demux_read,
p_block->i_pts =
input_ClockGetTS( p_input, &p_pgrm->clock, p_block->i_pts ) + i_delay;
}
- if ( es->fmt.i_codec == VLC_FOURCC( 't', 'e', 'l', 'x' ) )
+ if ( p_block->i_rate == INPUT_RATE_DEFAULT &&
+ es->fmt.i_codec == VLC_FOURCC( 't', 'e', 'l', 'x' ) )
{
mtime_t current_date = mdate();
if( !p_block->i_pts
fmt->video.i_frame_rate_base * 1000000,
1000000 );
input_Control( p_input, INPUT_ADD_INFO, psz_cat,
- _("Frame rate"), I64Fd".%06u",
+ _("Frame rate"), "%"PRId64".%06u",
div.quot, (unsigned int )div.rem );
}
break;