summaryrefslogtreecommitdiffstats
path: root/libhb/encvorbis.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/encvorbis.c')
-rw-r--r--libhb/encvorbis.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/encvorbis.c b/libhb/encvorbis.c
index c81b44d76..4d062c2c6 100644
--- a/libhb/encvorbis.c
+++ b/libhb/encvorbis.c
@@ -77,6 +77,7 @@ int encvorbisInit(hb_work_object_t *w, hb_job_t *job)
audio->config.out.bitrate * 1000, -1))
{
hb_error("encvorbis: vorbis_encode_setup_managed() failed");
+ *job->done_error = HB_ERROR_INIT;
*job->die = 1;
return -1;
}
@@ -89,6 +90,7 @@ int encvorbisInit(hb_work_object_t *w, hb_job_t *job)
audio->config.out.quality / 10))
{
hb_error("encvorbis: vorbis_encode_setup_vbr() failed");
+ *job->done_error = HB_ERROR_INIT;
*job->die = 1;
return -1;
}
@@ -98,6 +100,7 @@ int encvorbisInit(hb_work_object_t *w, hb_job_t *job)
vorbis_encode_setup_init(&pv->vi))
{
hb_error("encvorbis: vorbis_encode_ctl(ratemanage2_set) OR vorbis_encode_setup_init() failed");
+ *job->done_error = HB_ERROR_INIT;
*job->die = 1;
return -1;
}