diff options
author | jstebbins <[email protected]> | 2015-02-15 00:04:23 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2015-02-15 00:04:23 +0000 |
commit | c721fa4582108285a8399348ad098fc4e0a766ae (patch) | |
tree | b617213c0ace1e7d401b77ffc8b161d1614902d3 /gtk/src/hb-backend.c | |
parent | 44581b93d45ea045c82344a361900d61fc170e18 (diff) |
LinGui: add Burn-In options to subtitle defaults
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6903 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/hb-backend.c')
-rw-r--r-- | gtk/src/hb-backend.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c index 5489ad0f7..2216df598 100644 --- a/gtk/src/hb-backend.c +++ b/gtk/src/hb-backend.c @@ -65,6 +65,19 @@ combo_opts_t subtitle_track_sel_opts = d_subtitle_track_sel_opts }; +static options_map_t d_subtitle_burn_opts[] = +{ + {N_("None"), "none", 0, "0"}, + {N_("Foreign Audio Subtitle Track"), "foreign", 1, "1"}, + {N_("First Selected Track"), "first", 2, "2"}, + {N_("Foreign Audio, then First Selected Track"), "foreign_first", 3, "3"}, +}; +combo_opts_t subtitle_burn_opts = +{ + sizeof(d_subtitle_burn_opts)/sizeof(options_map_t), + d_subtitle_burn_opts +}; + static options_map_t d_audio_track_sel_opts[] = { {N_("None"), "none", 0, "0"}, @@ -380,6 +393,7 @@ typedef struct combo_name_map_t combo_name_map[] = { {"SubtitleTrackSelectionBehavior", &subtitle_track_sel_opts}, + {"SubtitleBurnBehavior", &subtitle_burn_opts}, {"AudioTrackSelectionBehavior", &audio_track_sel_opts}, {"PtoPType", &point_to_point_opts}, {"WhenComplete", &when_complete_opts}, @@ -2569,6 +2583,7 @@ ghb_update_ui_combo_box( subtitle_track_opts_set(ud->builder, "SubtitleTrack", user_data); small_opts_set(ud->builder, "VideoQualityGranularity", &vqual_granularity_opts); small_opts_set(ud->builder, "SubtitleTrackSelectionBehavior", &subtitle_track_sel_opts); + small_opts_set(ud->builder, "SubtitleBurnBehavior", &subtitle_burn_opts); small_opts_set(ud->builder, "AudioTrackSelectionBehavior", &audio_track_sel_opts); small_opts_set(ud->builder, "PtoPType", &point_to_point_opts); small_opts_set(ud->builder, "WhenComplete", &when_complete_opts); |