diff options
author | John Stebbins <[email protected]> | 2016-09-08 09:08:43 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-09-08 09:10:56 -0700 |
commit | 0b33dd8bb12afc94ee0616859b268b28a35d4906 (patch) | |
tree | 67d808016ef798e8dc3d009f67458b806658b5db /libhb/preset.h | |
parent | e9b2d291789edf2d08453c6554e1594aedfd495d (diff) |
LinGui: fix some issues with reloading audio defaults
Reloading the audio defaults basically didn't work right. Some settings
didn't get loaded, some got loaded and not displayed or displayed wrong.
Diffstat (limited to 'libhb/preset.h')
-rw-r--r-- | libhb/preset.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/preset.h b/libhb/preset.h index 25653ff62..0515b3cd1 100644 --- a/libhb/preset.h +++ b/libhb/preset.h @@ -149,6 +149,8 @@ int hb_preset_job_add_subtitles(hb_handle_t *h, int title_index, // Reinitialize audio from preset defaults. int hb_preset_job_add_audio(hb_handle_t *h, int title_index, const hb_dict_t *preset, hb_dict_t *job_dict); +void hb_sanitize_audio_settings(const hb_title_t * title, + hb_value_t * audio_settings); // Lookup a preset in the preset list. The "name" may contain '/' // separators to explicitely specify a preset within the preset lists |