summaryrefslogtreecommitdiffstats
path: root/gtk/src/subtitlehandler.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-02-18 16:02:14 +0000
committerjstebbins <[email protected]>2014-02-18 16:02:14 +0000
commitb3e905dde9dacd4129c05440cedbe5a1366d0243 (patch)
tree420015a42c464390a90c3f9c94c268a3d0ea5bd3 /gtk/src/subtitlehandler.h
parent52036382899171921343e10053fa3adaedcb19d2 (diff)
LinGui: Audio and subtitle UI rework.
Adds new tabs for audio and subtitle defaults (presets). "Audio" and "Subtitle" tabs renamed to "Audio List" and "Subtitle List" New Preset Keys: AudioLanguageList - array of strings List of languages that will be used to generate the output audio tracks for a job. Values: preset - UI display iso639_2 codes - native_name if not NULL, else eng_name SubtitleLanguageList - array of strings List of languages that will be used to generate the output subtitle tracks for a job. Values: preset - UI display iso639_2 codes - native_name if not NULL, else eng_name AudioTrackSelectionBehavior - string Defines how source tracks will be selected when generating the audio list for a job. Values: preset - UI display none - None first - First Matching Selected Languages all - All Matching Selected Languages SubtitleTrackSelectionBehavior - string Defines how source tracks will be selected when generating the subtitle list for a job. Values: preset - UI display none - None first - First Matching Selected Languages all - All Matching Selected Languages SubtitleAddCC - boolean Add Closed Caption track to subtitle list if available SubtitleAddForeignAudioSearch - boolean Add Foreign audio search pass to job if a default subtitle language is set (i.e. SubtitleLanguageList is not empty and first entry is not "Any") and default audio track language matches subtitle preferred language. SubtitleAddForeignAudioSubtitle - boolean Add preferred language subtitle track if the default subtitle language is set (i.e. SubtitleLanguageList is not empty and first entry is not "Any") and default audio track language does not match the preferred subtitle language. Removed Preset Keys: AudioTrack SubtitleList - I think only the LinGui had this key. Note that the remaining keys in the pre-existing AudioList are reused and map to the "Audio Encoder Settings" on the "Audio Defaults" tab. They used to map to the entries in the list on the old "Audio" tab. The old "Audio" tab is now the "Audio List" tab. Nothing in the "Audio List" tab map to preset values in the new design. The contents of this tab is strictly for use in the encode job. Ditto for "Subtitle Defaults" and "Subtitle List". git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6040 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/subtitlehandler.h')
-rw-r--r--gtk/src/subtitlehandler.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/gtk/src/subtitlehandler.h b/gtk/src/subtitlehandler.h
index b63b169c6..e1f261d3c 100644
--- a/gtk/src/subtitlehandler.h
+++ b/gtk/src/subtitlehandler.h
@@ -28,16 +28,14 @@
#include "settings.h"
void ghb_set_pref_subtitle(gint titleindex, signal_user_data_t *ud);
-void ghb_set_pref_subtitle_settings(gint titleindex, GValue *settings);
+void ghb_set_pref_subtitle_settings(hb_title_t *title, GValue *settings);
void ghb_set_subtitle(signal_user_data_t *ud, gint track, GValue *settings);
-GValue* ghb_selected_subtitle_settings(signal_user_data_t *ud);
-gint ghb_selected_subtitle_row(signal_user_data_t *ud);
void ghb_reset_subtitles(signal_user_data_t *ud, GValue *settings);
void ghb_subtitle_prune(signal_user_data_t *ud);
-gboolean ghb_soft_in_subtitle_list(GValue *subtitle_list);
-gboolean ghb_canBurnSub(int source);
-gboolean ghb_canForceSub(int source);
-gboolean ghb_canPassSub(int source, int mux);
void ghb_subtitle_list_refresh_selected(signal_user_data_t *ud);
+void ghb_subtitle_list_refresh_all(signal_user_data_t *ud);
+void ghb_init_subtitle_defaults_ui(signal_user_data_t *ud);
+void ghb_subtitle_def_settings_init(signal_user_data_t *ud);
+void ghb_subtitle_title_change(signal_user_data_t *ud, gboolean show);
#endif // _SUBTITLEHANDLER_H_