https://github.com/videolan/vlc
Revision 4c3538533e33379f216fbecb5accbd99893ef8b8 authored by Thomas Guillem on 10 March 2023, 14:06:01 UTC, committed by Jean-Baptiste Kempf on 12 March 2023, 09:26:44 UTC
Since flush is not working.

There are 2 main issues:

 - AAudioStream_getTimestamp() could fail from Flush(), resulting in the
   impossibility to report a correct timing. As the doc says:
   "TODO review Frame counters are not reset by a flush", and we need a point
   of comparison after a flush.

 - Some devices (seen on The Galaxy S22 Ultra API Level 31) can't report
   a timestamp once the stream is flushed, resulting in the
   impossibility to report a correct timing.

Now, the whole Flush() function take between 10ms and 25ms (depending on the
device).

Fixes #27917
1 parent c956314
History
Tip revision: 4c3538533e33379f216fbecb5accbd99893ef8b8 authored by Thomas Guillem on 10 March 2023, 14:06:01 UTC
aaudio: restart stream when flushing
Tip revision: 4c35385
File Mode Size
libvlc
lirc
skins
standalone
subtitles
.gitignore -rw-r--r-- 38 bytes
BUILD-win32.md -rw-r--r-- 13.4 KB
Doxyfile.in -rw-r--r-- 102.0 KB
Doxyfile.skins2 -rw-r--r-- 36.7 KB
Makefile.am -rw-r--r-- 2.1 KB
browsing.txt -rw-r--r-- 1.7 KB
clock.md -rw-r--r-- 4.5 KB
demo.sh -rwxr-xr-x 3.4 KB
doc_helper.sh -rwxr-xr-x 319 bytes
executor.md -rw-r--r-- 8.9 KB
fortunes.txt -rw-r--r-- 34.7 KB
release-howto.txt -rw-r--r-- 4.0 KB
strings.txt -rw-r--r-- 136 bytes
transforms.py -rw-r--r-- 40.1 KB
translations.txt -rw-r--r-- 81 bytes
vlc-wrapper.1 -rw-r--r-- 1.3 KB
vlc.1 -rw-r--r-- 3.2 KB
vlm.txt -rw-r--r-- 7.3 KB

back to top