diff options
author | maxd <[email protected]> | 2013-11-05 13:46:42 +0000 |
---|---|---|
committer | maxd <[email protected]> | 2013-11-05 13:46:42 +0000 |
commit | e7fa5d24cdd7275611ed738e3dfc909fe30ad317 (patch) | |
tree | f0478754e3d930d44782e313c3fa21cb465f6b22 /libhb/encvorbis.c | |
parent | a89397c1e3358b5f690b046481388ade19316fda (diff) |
RB626: return code support added
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5876 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/encvorbis.c')
-rw-r--r-- | libhb/encvorbis.c | 3 |
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; } |