Commit 0bf00428 authored by Rafaël Carré's avatar Rafaël Carré

goom: use VLC_TS_INVALID (refs #3135)

parent 9a9a5f4a
...@@ -273,12 +273,12 @@ static int FillBuffer( int16_t *p_data, int *pi_data, ...@@ -273,12 +273,12 @@ static int FillBuffer( int16_t *p_data, int *pi_data,
p_block->i_buffer / sizeof(float) / p_this->i_channels ); p_block->i_buffer / sizeof(float) / p_this->i_channels );
/* Date management */ /* 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 ) ) p_block->i_pts != date_Get( pi_date_end ) )
{ {
date_Set( pi_date_end, p_block->i_pts ); 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 ); date_Increment( pi_date_end, i_samples );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment