diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-12-14 03:16:24 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-12-14 03:16:24 +0300 |
commit | c1f5d8d023c6fdef67efbc6ce2af49e384c9bd98 (patch) | |
tree | 4ea1d7d92f1cf5d4a5208a4b13b59398e3b55748 /source/blender/blenloader | |
parent | b64750991334517a0d0cfc94c21d7276d5e5e833 (diff) |
Fix T91005: Autosplit produces unusable files
Audio PTS was reset for each new file. This caused misalignment of video
and audio streams. In Blender, these files can't be loaded, other
players will fail to align audio and video.
Since timestamps are reset intentionally, reset also video stream
timestamps.
There were other bugs:
After timestamp was reset for audio, write_audio_frames started
encoding from timeline start until target frame, so each split video
had more audio than it should.
Also audio for last frame before splitting was written into new file.
Differential Revision: https://developer.blender.org/D13280
Diffstat (limited to 'source/blender/blenloader')
0 files changed, 0 insertions, 0 deletions