]> granicus.if.org Git - handbrake/commit
sync: work-around players with broken edit list support
authorJohn Stebbins <jstebbins.hb@gmail.com>
Fri, 2 Jun 2017 15:51:21 +0000 (08:51 -0700)
committerBradley Sepos <bradley@bradleysepos.com>
Tue, 13 Jun 2017 21:22:11 +0000 (17:22 -0400)
commit16cc03076330b23a0e8744ea125db61a5a2bd2e8
tree9f3f38746c96dc2d70395f7b02e56aa60ae5d9b0
parente018cdea0566e22edf72de4b82a6634c791a90bc
sync: work-around players with broken edit list support

This adds a preset key AlignAVStart that enables this work-around. When
enabled, blank frames are inserted or frames are dropped to force
alignment of the initial timestamp of every audio and video stream.
Aligning the start times minimizes the impact of broken edit list
support in players.

Closes #763.

Squashed:

sync: improve alignment when passthru audio is present

presets: enable AlignAVStart for General and Gmail presets

LinGui: Improve AlignAVStart tooltip

sync: avoid inserting a black frame < nominal frame duration

sync: fix start alignment when doing p-to-p encoding

sync: add comments
gtk/src/callbacks.c
gtk/src/ghb.m4
libhb/common.h
libhb/hb_json.c
libhb/preset.c
libhb/preset_builtin.h
libhb/sync.c
preset/preset_builtin.json
preset/preset_builtin.list
preset/preset_template.json
test/test.c