From 4b36eaae98f6b2ac260f3ee741f22c7f07bcb7ad Mon Sep 17 00:00:00 2001 From: jbrjake Date: Tue, 22 Jan 2008 19:53:33 +0000 Subject: Maintains separate filter settings for each job. This prevents the MacGui from using the same filter settings for every job in the queue. Patch from travistex. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1228 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/render.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'libhb/render.c') diff --git a/libhb/render.c b/libhb/render.c index 4253a9237..3a0a02572 100644 --- a/libhb/render.c +++ b/libhb/render.c @@ -447,25 +447,6 @@ void renderClose( hb_work_object_t * w ) hb_fifo_close( &pv->delay_queue ); } - /* Cleanup filters */ - /* TODO: Move to work.c? */ - if( pv->job->filters ) - { - int filter_count = hb_list_count( pv->job->filters ); - int i; - - for( i = 0; i < filter_count; i++ ) - { - hb_filter_object_t * filter = hb_list_item( pv->job->filters, i ); - - if( !filter ) continue; - - filter->close( filter->private_data ); - } - - hb_list_close( &pv->job->filters ); - } - /* Cleanup render work structure */ free( pv ); w->private_data = NULL; -- cgit v1.2.3