summaryrefslogtreecommitdiffstats
path: root/macosx/HBJob+HBJobConversion.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-01-26 21:18:06 +0000
committerritsuka <[email protected]>2015-01-26 21:18:06 +0000
commite8550395291bf598efd72615301667cc464e4532 (patch)
tree90ecec59370dbba8b53042313b14020ea7441c31 /macosx/HBJob+HBJobConversion.m
parentde6e8f85686ad3f63be7fba7b4bf10aa1912a09a (diff)
MacGui: set the right crop values in the HB_FILTER_RENDER_SUB filter.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6817 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBJob+HBJobConversion.m')
-rw-r--r--macosx/HBJob+HBJobConversion.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/HBJob+HBJobConversion.m b/macosx/HBJob+HBJobConversion.m
index dd14573d6..314c320b2 100644
--- a/macosx/HBJob+HBJobConversion.m
+++ b/macosx/HBJob+HBJobConversion.m
@@ -317,9 +317,9 @@
if (one_burned)
{
hb_filter_object_t *filter = hb_filter_init( HB_FILTER_RENDER_SUB );
- hb_add_filter( job, filter, [[NSString stringWithFormat:@"%d:%d:%d:%d",
- job->crop[0], job->crop[1],
- job->crop[2], job->crop[3]] UTF8String] );
+ hb_add_filter(job, filter, [NSString stringWithFormat:@"%d:%d:%d:%d",
+ self.picture.cropTop, self.picture.cropBottom,
+ self.picture.cropLeft, self.picture.cropRight].UTF8String);
}
// Audio Defaults