From 3f47fd810214d03a05eeaa7b46193398c59a030a Mon Sep 17 00:00:00 2001 From: sr55 Date: Fri, 6 Sep 2013 17:23:13 +0000 Subject: [PATCH] Remove mcdeint from the OpenCL decomb code so the code builds again git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5772 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/decomb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libhb/decomb.c b/libhb/decomb.c index 462e11835..9f017c58e 100644 --- a/libhb/decomb.c +++ b/libhb/decomb.c @@ -2552,7 +2552,7 @@ static int hb_decomb_work( hb_filter_object_t * filter, hb_buffer_t * in = *buf_in; hb_buffer_t * last = NULL, * out = NULL; #ifdef USE_OPENCL - if (pv->use_opencl && !(pv->mode & (MODE_MCDEINT | MODE_BOB))) + if (pv->use_opencl && !(pv->mode & (MODE_BOB))) return hb_decomb_work_opencl(filter, buf_in, buf_out); #endif if ( in->size <= 0 ) @@ -2809,7 +2809,7 @@ static int hb_decomb_work_opencl( hb_filter_object_t * filter, } } - hb_buffer_t* mcdeint_out = NULL; + /* hb_buffer_t* mcdeint_out = NULL; if (pv->mcdeint_mode >= 0) { mcdeint_out = hb_video_buffer_init(in->f.width, in->f.height); @@ -2820,7 +2820,7 @@ static int hb_decomb_work_opencl( hb_filter_object_t * filter, last = mcdeint_out; }else{ last = out; - } + }*/ last->s = pv->ref[1]->s; if ((pv->mode & MODE_MASK) && pv->spatial_metric >= 0 ) -- 2.40.0