summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_pcm.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-14 22:14:46 +0100
committerwm4 <wm4@nowhere>2015-01-14 22:14:46 +0100
commit4cabd08e8a54c201f153ce28c783f2e7d4ee413a (patch)
treefcff210a20928175f6c84aef42db0c83eb1ce20a /audio/out/ao_pcm.c
parent1a522f2976004b8896d71e71446ae04723df3cec (diff)
downloadmpv-4cabd08e8a54c201f153ce28c783f2e7d4ee413a.tar.bz2
mpv-4cabd08e8a54c201f153ce28c783f2e7d4ee413a.tar.xz
audio: fix initial audio PTS
Commit 5e25a3d2 broke handling of the initial frame (the one decoded with initial_audio_decode()). It didn't update the pts_offset field, leading to a shift in timestamps by one audio frame. Fix by calling the actual decode function in a single place. This requires slightly more changes than what would be necessary to fix the bug, but it also somewhat simplifies the data flow.
Diffstat (limited to 'audio/out/ao_pcm.c')
0 files changed, 0 insertions, 0 deletions