]> granicus.if.org Git - handbrake/commit
libhb: fix problem with incorrect addition of audio silence
authorjstebbins <jstebbins.hb@gmail.com>
Tue, 1 May 2012 10:05:53 +0000 (10:05 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Tue, 1 May 2012 10:05:53 +0000 (10:05 +0000)
commit2e8be70b9910c62d8d8cb693f8c58485efbf4e97
treeb1bccf23e518790e29948fcf11503b6cf79fc0ae
parent4dcf3fcfd9aaeca7fe7ec06ff8c0c6b2d5d3c198
libhb: fix problem with incorrect addition of audio silence
sync needs the precise duration of a frame of audio and has
no way to compute it for passthru audio.  So add a duration
member to hb_buffer_t and set it in the audio decoders.

This should eventually supersede hb_buffer_t member "stop"
since it provides redundant information.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4618 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/deca52.c
libhb/decavcodec.c
libhb/decdca.c
libhb/declpcm.c
libhb/internal.h
libhb/sync.c