summaryrefslogtreecommitdiffstats
path: root/libhb/rendersub.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2012-04-15 16:43:16 +0000
committerjstebbins <[email protected]>2012-04-15 16:43:16 +0000
commit8c2eff9199b8e98e7b39fa236e6759f689d7bfda (patch)
tree1fa48341f0d8d20806ca4106d3e9c7c66a2a5330 /libhb/rendersub.c
parent123e871e306f0c962a46a48ba696066647d526a8 (diff)
libhb: fix crash when subtitle render filter fails to initialize
This can happen for non-fatal reasons when doing foreign audio search. This makes all filter init failures non-fatal. We may want to introduce fatal errors at some point. I need to inspect all the filters and see if there are any errors that really must be fatal. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4600 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/rendersub.c')
-rw-r--r--libhb/rendersub.c4
1 files changed, 2 insertions, 2 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;
}