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

Function ghb_remove_job

gtk/src/hb-backend.c:4811–4826  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4809}
4810
4811void
4812ghb_remove_job(gint unique_id)
4813{
4814 hb_job_t * job;
4815 gint ii;
4816
4817 // Multiples passes all get the same id
4818 // remove them all.
4819 // Go backwards through list, so reordering doesn't screw me.
4820 ii = hb_count(h_queue) - 1;
4821 while ((job = hb_job(h_queue, ii--)) != NULL)
4822 {
4823 if (job->sequence_id == unique_id)
4824 hb_rem(h_queue, job);
4825 }
4826}
4827
4828void
4829ghb_start_queue (void)

Callers 1

queue_remove_responseFunction · 0.85

Calls 3

hb_countFunction · 0.85
hb_jobFunction · 0.85
hb_remFunction · 0.85

Tested by

no test coverage detected