summaryrefslogtreecommitdiffstats
path: root/gtk/src/hb-backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/hb-backend.c')
-rw-r--r--gtk/src/hb-backend.c19
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,