summaryrefslogtreecommitdiffstats
path: root/macosx/HBJob+HBJobConversion.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2016-01-15 08:20:42 +0100
committerDamiano Galassi <[email protected]>2016-01-15 08:20:42 +0100
commit9d4bbeefaba8f6dabdc8e48b34feb7de2d057a68 (patch)
tree9b9933c43bc80b29937cdb3040c26678c41adc77 /macosx/HBJob+HBJobConversion.m
parentb0c52adc40ee25b6be77a3598a319d75bc6d9025 (diff)
MacGui: add the rotate filter to the picture tab.
Diffstat (limited to 'macosx/HBJob+HBJobConversion.m')
-rw-r--r--macosx/HBJob+HBJobConversion.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBJob+HBJobConversion.m b/macosx/HBJob+HBJobConversion.m
index 1a7bd4c08..11009b6a9 100644
--- a/macosx/HBJob+HBJobConversion.m
+++ b/macosx/HBJob+HBJobConversion.m
@@ -483,10 +483,10 @@
}
// Add rotate filter
- if (self.filters.rotate)
+ if (self.filters.rotate || self.filters.flip)
{
filter = hb_filter_init(HB_FILTER_ROTATE);
- hb_add_filter(job, filter, [NSString stringWithFormat:@"%d", self.filters.rotate].UTF8String);
+ hb_add_filter(job, filter, [NSString stringWithFormat:@"%d:%d", self.filters.rotate, self.filters.flip].UTF8String);
}
// Add framerate shaping filter