[vlc-commits] [Git][videolan/vlc][master] pulse: fix drain if timing update fails (unlikely)
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri Jan 6 07:42:56 UTC 2023
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
9abf0bb2 by Thomas Guillem at 2023-01-06T06:15:44+00:00
pulse: fix drain if timing update fails (unlikely)
Fixes #27690
- - - - -
1 changed file:
- modules/audio_output/pulse.c
Changes:
=====================================
modules/audio_output/pulse.c
=====================================
@@ -671,7 +671,11 @@ static void Drain(audio_output_t *aout)
if (op != NULL)
pa_operation_unref(op);
else
- aout_DrainedReport(aout);
+ {
+ /* Timing failed, update the drain timer using the last known
+ * latency */
+ TriggerDrain(aout);
+ }
}
pa_threaded_mainloop_unlock(sys->mainloop);
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9abf0bb2b650ace0d53f0de9feb3ac1fd9146d1c
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9abf0bb2b650ace0d53f0de9feb3ac1fd9146d1c
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list