MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / SetWorkStateInfo

Function SetWorkStateInfo

libhb/work.c:90–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90static 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.

Callers 1

work_funcFunction · 0.85

Calls 2

hb_get_state2Function · 0.85
hb_set_stateFunction · 0.85

Tested by

no test coverage detected