diff options
author | John Stebbins <[email protected]> | 2016-08-23 11:25:42 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-08-23 11:25:42 -0700 |
commit | fb216e222dad67ea8059aca11c0be8277f3455a5 (patch) | |
tree | d955834af0f1f7f557f921429626716563ce5c92 /gtk/src/hb-backend.c | |
parent | fd3aa29aaeef382eb14575b416cc95d569adb47a (diff) |
LinGui: Add rotate filter
Diffstat (limited to 'gtk/src/hb-backend.c')
-rw-r--r-- | gtk/src/hb-backend.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c index 3afd41a83..5feababa5 100644 --- a/gtk/src/hb-backend.c +++ b/gtk/src/hb-backend.c @@ -220,6 +220,19 @@ combo_opts_t denoise_opts = d_denoise_opts }; +static options_map_t d_rotate_opts[] = +{ + {N_("Off"), "disable=1", 0, ""}, + {N_("90 Degrees"), "angle=90", 90, ""}, + {N_("180 Degrees"), "angle=180", 180, ""}, + {N_("270 Degrees"), "angle=270", 270, ""}, +}; +combo_opts_t rotate_opts = +{ + sizeof(d_rotate_opts)/sizeof(options_map_t), + d_rotate_opts +}; + static options_map_t d_direct_opts[] = { {N_("None"), "none", 0, "none"}, @@ -541,6 +554,12 @@ combo_name_map_t combo_name_map[] = filter_opt_get }, { + "PictureRotate", + &rotate_opts, + small_opts_set, + generic_opt_get + }, + { "x264_direct", &direct_opts, small_opts_set, |