]> granicus.if.org Git - handbrake/commit
libhb: make muxer, sync, and reader behave like other work objects
authorJohn Stebbins <jstebbins.hb@gmail.com>
Tue, 3 Nov 2015 17:46:28 +0000 (09:46 -0800)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Mon, 9 Nov 2015 19:06:59 +0000 (11:06 -0800)
commita986f54a4109bb8c3b2fb57849b4b0ea01e3c522
tree7add9d007dc8bdd72114637c8f3f7361621ad4a5
parent63b340ebc33d57aeda22e340dab48b1df2106541
libhb: make muxer, sync, and reader behave like other work objects

simplify job initialization sequence, clean up code, and document
dependencies in the sequence better.

Make hb_add set job->sequence_id.  It is no longer necessary for the
frontend to do this.  If the frontend needs the sequence_id, it is
returned by hb_add().

Clean up use of interjob.  do_job() now uses sequence_id to detect when
a new sequence of related jobs is running and automatically clears
interjob.
24 files changed:
gtk/src/callbacks.c
gtk/src/hb-backend.c
gtk/src/hb-backend.h
gtk/src/preview.c
libhb/common.c
libhb/common.h
libhb/decomb.c
libhb/denoise.c
libhb/enc_qsv.c
libhb/encavcodec.c
libhb/enctheora.c
libhb/encx264.c
libhb/encx265.c
libhb/hb.c
libhb/hb.h
libhb/hb_json.c
libhb/internal.h
libhb/muxavformat.c
libhb/muxcommon.c
libhb/reader.c
libhb/scan.c
libhb/stream.c
libhb/sync.c
libhb/work.c