/*****************************************************************************
* Preamble
*****************************************************************************/
-#include <errno.h>
-
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
fmt.i_width = fmt.i_visible_width = width;
fmt.i_height = fmt.i_visible_height = height;
fmt.i_chroma = VLC_CODEC_RGB32;
- fmt.i_aspect = VOUT_ASPECT_FACTOR * width/height;
fmt.i_sar_num = fmt.i_sar_den = 1;
p_thread->p_vout = aout_filter_RequestVout( p_filter, NULL, &fmt );
p_block->i_buffer / sizeof(float) / p_this->i_channels );
/* Date management */
- if( p_block->i_pts > 0 &&
+ if( p_block->i_pts > VLC_TS_INVALID &&
p_block->i_pts != date_Get( pi_date_end ) )
{
date_Set( pi_date_end, p_block->i_pts );
}
- p_block->i_pts = 0;
+ p_block->i_pts = VLC_TS_INVALID;
date_Increment( pi_date_end, i_samples );