summaryrefslogtreecommitdiffstats
path: root/libhb/work.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/work.c')
-rw-r--r--libhb/work.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libhb/work.c b/libhb/work.c
index 7ea9878bf..f9d7bf656 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -550,9 +550,10 @@ static void do_job( hb_job_t * job )
hb_filter_object_t * filter = hb_list_item( job->list_filter, i );
if( filter->init( filter, &init ) )
{
- hb_error( "Failure to initialise filter '%s'", filter->name );
- *job->die = 1;
- goto cleanup;
+ hb_log( "Failure to initialise filter '%s', disabling",
+ filter->name );
+ hb_list_rem( job->list_filter, filter );
+ hb_filter_close( &filter );
}
}
job->width = init.width;