summaryrefslogtreecommitdiffstats
path: root/gtk/src/hb-backend.h
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-07-31 10:59:25 -0700
committerJohn Stebbins <[email protected]>2019-08-11 15:36:40 -0700
commitcc33883b8a62e501d33c716f1e805601744d744f (patch)
treeebbec5d763cd5ccb693873d94ff12627eef9c2a2 /gtk/src/hb-backend.h
parent6125d196cacf967e90ab499327dbcb83588778c1 (diff)
libhb: make source audio track name available to frontends
It gets stored in new hb_audio_config_t.in.name field. It is available in the title dict read through hb_title_to_dict() or hb_title_to_json() in AudioList[].Name. When a job is initialized with hb_preset_job_init or hb_preset_job_init_json(), output audio tracks are initialized with the source track name. Also adds output track name initialization to LinGui.
Diffstat (limited to 'gtk/src/hb-backend.h')
-rw-r--r--gtk/src/hb-backend.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/hb-backend.h b/gtk/src/hb-backend.h
index 18d2f2199..bd9aabd16 100644
--- a/gtk/src/hb-backend.h
+++ b/gtk/src/hb-backend.h
@@ -133,7 +133,7 @@ gint64 ghb_get_chapter_duration(const hb_title_t *title, gint chap);
gint64 ghb_get_chapter_start(const hb_title_t *title, gint chap);
gint64 ghb_chapter_range_get_duration(const hb_title_t *title,
gint sc, gint ec);
-gint ghb_get_best_mix(hb_audio_config_t *aconfig, gint acodec, gint mix);
+gint ghb_get_best_mix(uint64_t layout, gint acodec, gint mix);
gboolean ghb_audio_is_passthru(gint acodec);
gboolean ghb_audio_can_passthru(gint acodec);
gint ghb_get_default_acodec(void);