Skip to content
Snippets Groups Projects
Commit 996d3111 authored by Steve Lhomme's avatar Steve Lhomme Committed by Hugo Beauzée-Luyssen
Browse files

amem: make sure the PTS is in microseconds

This is supposed to be used with libvlc_delay() which takes dates in the same
format as libvlc_clock(), which is microseconds.
parent 89dbd928
No related branches found
No related tags found
1 merge request!2367amem: make sure the PTS is in microseconds
Pipeline #251625 passed with stage
in 11 minutes and 1 second
......@@ -105,7 +105,7 @@ static void Play(audio_output_t *aout, block_t *block, vlc_tick_t date)
aout_sys_t *sys = aout->sys;
vlc_mutex_lock(&sys->lock);
sys->play(sys->opaque, block->p_buffer, block->i_nb_samples, date);
sys->play(sys->opaque, block->p_buffer, block->i_nb_samples, US_FROM_VLC_TICK(date));
vlc_mutex_unlock(&sys->lock);
block_Release (block);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment