summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
Diffstat (limited to 'macosx')
-rw-r--r--macosx/Controller.m8
1 files changed, 6 insertions, 2 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m
index e3c85dffa..9d7830059 100644
--- a/macosx/Controller.m
+++ b/macosx/Controller.m
@@ -3252,7 +3252,9 @@ bool one_burned = FALSE;
if( one_burned )
{
filter = hb_filter_init( HB_FILTER_RENDER_SUB );
- hb_add_filter( job, filter, NULL );
+ hb_add_filter( job, filter, [[NSString stringWithFormat:@"%d:%d:%d:%d",
+ job->crop[0], job->crop[1],
+ job->crop[2], job->crop[3]] UTF8String] );
}
@@ -3790,7 +3792,9 @@ bool one_burned = FALSE;
if( one_burned )
{
filter = hb_filter_init( HB_FILTER_RENDER_SUB );
- hb_add_filter( job, filter, NULL );
+ hb_add_filter( job, filter, [[NSString stringWithFormat:@"%d:%d:%d:%d",
+ job->crop[0], job->crop[1],
+ job->crop[2], job->crop[3]] UTF8String] );
}
#pragma mark -