https://github.com/videolan/vlc
Revision 63488e047dfeb25e23e7a210b0c38ff609f86516 authored by Thomas Guillem on 09 March 2023, 15:13:36 UTC, committed by Jean-Baptiste Kempf on 11 March 2023, 16:51:11 UTC
Threading changed, it is now possible.

This fixes the video or audio output that can render the first frames in
the initial state, leading to audio/video glitches (if a delay is
applied after).

For example, audio with clock-master=input:

[00007fc4a4311760] main decoder: vlc_input_decoder_ChangeDelay():
000055ad16120e60] main audio output error: Play in 133193
[000055ad16120e60] main audio output error: Play in 156331
[000055ad16120e60] main audio output error: Play in 179508
[000055ad16120e60] main audio output error: Play in 202699
[000055ad16120e60] main audio output error: Play in 225891
[00007fc4a4311760] main decoder: changing delay(2): -2000000
[000055ad16120e60] main audio output error: Play in -1750921

Refs #27918
1 parent a89b5d6
History
Tip revision: 63488e047dfeb25e23e7a210b0c38ff609f86516 authored by Thomas Guillem on 09 March 2023, 15:13:36 UTC
decoder: update the state directly when creating an output
Tip revision: 63488e0
File Mode Size
autotools
bin
buildsystem
compat
contrib
doc
extras
include
lib
m4
modules
po
share
src
test
.gitignore -rw-r--r-- 471 bytes
.mailmap -rw-r--r-- 7.1 KB
AUTHORS -rw-r--r-- 18.7 KB
COPYING -rw-r--r-- 17.7 KB
COPYING.LIB -rw-r--r-- 25.9 KB
INSTALL -rw-r--r-- 1.4 KB
Makefile.am -rw-r--r-- 6.5 KB
NEWS -rw-r--r-- 202.7 KB
README.md -rw-r--r-- 5.6 KB
THANKS -rw-r--r-- 5.5 KB
bootstrap -rwxr-xr-x 1.8 KB
config.h.meson -rw-r--r-- 15.5 KB
configure.ac -rw-r--r-- 140.3 KB
make-alias -rwxr-xr-x 299 bytes
meson.build -rw-r--r-- 32.2 KB
meson_options.txt -rw-r--r-- 14.3 KB

README.md

back to top