summaryrefslogtreecommitdiffstats
path: root/libhb/render.c
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2008-01-22 19:53:33 +0000
committerjbrjake <[email protected]>2008-01-22 19:53:33 +0000
commit4b36eaae98f6b2ac260f3ee741f22c7f07bcb7ad (patch)
tree566da627b82df9c439defb3ff6e2bdfb80c3a0ba /libhb/render.c
parent9f7c6f5bd3eb26e1bbaafa535aa7f2f600e4ab56 (diff)
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
Diffstat (limited to 'libhb/render.c')
-rw-r--r--libhb/render.c19
1 files changed, 0 insertions, 19 deletions
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;