| 88 | } |
| 89 | |
| 90 | static void SetWorkStateInfo(hb_job_t *job) |
| 91 | { |
| 92 | hb_state_t state; |
| 93 | |
| 94 | if (job == NULL) |
| 95 | { |
| 96 | return; |
| 97 | } |
| 98 | hb_get_state2(job->h, &state); |
| 99 | state.param.working.error = *job->done_error; |
| 100 | hb_set_state( job->h, &state ); |
| 101 | } |
| 102 | |
| 103 | /** |
| 104 | * Iterates through job list and calls do_job for each job. |
no test coverage detected