summaryrefslogtreecommitdiffstats
path: root/libhb/decomb.c
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2009-10-31 15:09:22 +0000
committerjbrjake <[email protected]>2009-10-31 15:09:22 +0000
commit67cbec53dffe1ef8acf1e0bbe63514c980ee79a2 (patch)
treea9830881a000a017da3060a70184cce46ec67a51 /libhb/decomb.c
parentedd87e0b7cbe627e7f13f959a2a6cef2cab765c3 (diff)
Adds a parity parameter to detelecine and rewires it in decomb, so that TFF can be set for non-MPEG-2 sources that don't include parity flags, which will be falsely autodetected as BFF.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2903 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/decomb.c')
-rw-r--r--libhb/decomb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libhb/decomb.c b/libhb/decomb.c
index fc5e863b8..370f18e17 100644
--- a/libhb/decomb.c
+++ b/libhb/decomb.c
@@ -1644,7 +1644,7 @@ hb_filter_private_t * hb_decomb_init( int pix_fmt,
if( settings )
{
- sscanf( settings, "%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d",
+ sscanf( settings, "%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d:%d",
&pv->mode,
&pv->spatial_metric,
&pv->motion_threshold,
@@ -1659,7 +1659,8 @@ hb_filter_private_t * hb_decomb_init( int pix_fmt,
&pv->erosion_threshold,
&pv->noise_threshold,
&pv->maximum_search_distance,
- &pv->post_processing );
+ &pv->post_processing,
+ &pv->parity );
}
pv->cpu_count = hb_get_cpu_count();