]> granicus.if.org Git - handbrake/commit
libhb: automatically add rendersub filter when required
authorjstebbins <jstebbins.hb@gmail.com>
Fri, 30 Jan 2015 16:35:13 +0000 (16:35 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Fri, 30 Jan 2015 16:35:13 +0000 (16:35 +0000)
commit9ada60e118b34149cffa55968c90c0a27a74b9d4
tree023c6052dce66fde749d3df63fd8e80f6fa428e1
parentd6bcc43ea2d136a58af0664f3503e443cbe7b363
libhb: automatically add rendersub filter when required

This requires the addition of a filter->post_init function to inform
filters of the final job configuration after all filters have been
initialized.  Rendersub needs to know cropping, but cropping isn't known
till after crop_scale filter is initialized. Since crop_scale is initialized
*after* rendersub is initialized, post_init is needed.  Currently, rendersub
is the only filter that defines post_init.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6830 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/common.h
libhb/rendersub.c
libhb/work.c