summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libhb/rendersub.c4
-rw-r--r--libhb/work.c7
2 files changed, 6 insertions, 5 deletions
diff --git a/libhb/rendersub.c b/libhb/rendersub.c
index 1536e03c6..8707bd3d2 100644
--- a/libhb/rendersub.c
+++ b/libhb/rendersub.c
@@ -552,7 +552,7 @@ static int hb_rendersub_init( hb_filter_object_t * filter,
}
if( filter->subtitle == NULL )
{
- hb_error("rendersub: no subtitle marked for burn");
+ hb_log("rendersub: no subtitle marked for burn");
return 1;
}
@@ -570,7 +570,7 @@ static int hb_rendersub_init( hb_filter_object_t * filter,
default:
{
- hb_error("rendersub: unsupported subtitle format %d", pv->type );
+ hb_log("rendersub: unsupported subtitle format %d", pv->type );
return 1;
} break;
}
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;