summaryrefslogtreecommitdiff
path: root/PROTOCOL
diff options
context:
space:
mode:
authorflyingOwl <ofenfisch@googlemail.com>2022-12-30 00:16:03 +0100
committerflyingOwl <ofenfisch@googlemail.com>2022-12-30 00:16:03 +0100
commitc3eae5d00cb79bd897049483126e75bb48a69cd1 (patch)
tree474bb8673996f0096ff8382a2f89fcb8d8cf3f0d /PROTOCOL
parent96bd4e57b5b02dc04b61528033f283f5fea7e723 (diff)
downloadpulseaudio-c3eae5d00cb79bd897049483126e75bb48a69cd1.tar.gz
time-smoother-2: Fix time calculation by comparing timestamps
This fixes the rare case of resume_time being bigger than time_stamp. Which happens sometimes when a gstreamer client is quickly seeking through a media file. The resulting integer underflow then causes a huge value in current_time which will break the playback. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/764>
Diffstat (limited to 'PROTOCOL')
0 files changed, 0 insertions, 0 deletions