-void ghb_update_ui_combo_box(GtkBuilder *builder, const gchar *name, gint user_data, gboolean all);
-gint ghb_find_audio_track(gint titleindex, const gchar *lang, gint acodec);
-gint ghb_longest_title();
-gchar* ghb_build_x264opts_string(GHashTable *settings);
-GdkPixbuf* ghb_get_preview_image(gint titleindex, gint index, GHashTable *settings, gboolean borders);
-gint ghb_calculate_target_bitrate(GHashTable *settings, gint titleindex);
+void ghb_update_ui_combo_box(
+ signal_user_data_t *ud, const gchar *name, gint user_data, gboolean all);
+gchar* ghb_get_source_audio_lang(gint titleindex, gint track);
+gint ghb_find_audio_track(
+ gint titleindex, const gchar *lang, gint acodec, GHashTable *track_indices);
+void ghb_add_all_subtitles(signal_user_data_t *ud, gint titleindex);
+gint ghb_find_pref_subtitle_track(const gchar *lang);
+gint ghb_find_subtitle_track(
+ gint titleindex, const gchar *lang, GHashTable *track_indices);
+gint ghb_pick_subtitle_track(signal_user_data_t *ud);
+gint ghb_longest_title(void);
+gchar* ghb_build_x264opts_string(GValue *settings);
+GdkPixbuf* ghb_get_preview_image(
+ gint titleindex, gint index, signal_user_data_t *ud,
+ gint *width, gint *height);
+gint ghb_calculate_target_bitrate(GValue *settings, gint titleindex);