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
Raw File
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
make-alias
#! /bin/sh
# Interface alias build script for VLC
# Copyright © 2007 Rémi Denis-Courmont.

OUT="$1"
IFACE="$2"

cat > "$OUT.tmp" << EOF
#! /bin/sh
exec $bindir/`echo "$program_prefix"vlc"$program_suffix" | sed -e "$transform"` -I "$IFACE" "\$@"
EOF

chmod +x "$OUT.tmp"
mv -f -- "$OUT.tmp" "$OUT"
back to top