diff options
author | John Stebbins <[email protected]> | 2018-08-07 13:34:36 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2018-08-07 13:34:36 -0700 |
commit | d80a17590a1aa6c65de0ef0f2e6e0bd273f4753e (patch) | |
tree | 9d12d136483ea460c1923cc8430d5c4ccdaef647 /macosx | |
parent | 1fbea6b770f6691d4a07b60d1e370fa70c483473 (diff) |
fix race in getting sequence_id of completed job
The sequence_id was only available for the WORKING state and not the
WORKDONE state. But frontends poll for status periodically and can miss
all status updates for the WORKING state if the file is very short or an
error occurs early during transcoding. When WORKING status is missed,
there was no way to know the sequence_id associated with the WORKDONE
status.
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/HBCore.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBCore.m b/macosx/HBCore.m index 6c259e25a..b2252183d 100644 --- a/macosx/HBCore.m +++ b/macosx/HBCore.m @@ -456,7 +456,7 @@ typedef void (^HBCoreCleanupHandler)(void); } HBCoreResult result = HBCoreResultDone; - switch (_hb_state->param.workdone.error) + switch (_hb_state->param.working.error) { case HB_ERROR_NONE: result = HBCoreResultDone; |