libvlc_audio_set_delay does not work well with libvlc_media_player_set_time

This forum is about all development around libVLC.
sanmool
Blank Cone
Blank Cone
Posts: 20
Joined: 02 Apr 2023 12:01

libvlc_audio_set_delay does not work well with libvlc_media_player_set_time

Postby sanmool » 15 Jun 2023 20:55

The steps to reproduce is the following,
1. Play video
2. Set audio delay +2 seconds
libvlc_audio_set_delay(media_player_pointer, 2000)
3. Set time to another position
libvlc_media_player_set_time(...)
Then the audio does not play immediately. I could not hear the audio for the first few seconds. After few seconds, the audio plays as expected.
If I set audio delay to -2 seconds, the audio plays immediately as expected.

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 15 guests