diff options
author | wm4 <wm4@nowhere> | 2015-01-14 22:14:46 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-14 22:14:46 +0100 |
commit | 4cabd08e8a54c201f153ce28c783f2e7d4ee413a (patch) | |
tree | fcff210a20928175f6c84aef42db0c83eb1ce20a /video/fmt-conversion.h | |
parent | 1a522f2976004b8896d71e71446ae04723df3cec (diff) | |
download | mpv-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 'video/fmt-conversion.h')
0 files changed, 0 insertions, 0 deletions