if (job->keep_ratio == 1)
{
hb_fix_aspect( job, HB_KEEP_WIDTH );
+ if( job->height > fTitle->height )
+ {
+ job->height = fTitle->height;
+ hb_fix_aspect( job, HB_KEEP_HEIGHT );
+ }
}
job->pixel_ratio = [[chosenPreset objectForKey:@"PicturePAR"] intValue];
}
if (job->keep_ratio == 1)
{
hb_fix_aspect( job, HB_KEEP_WIDTH );
+ if( job->height > fTitle->height )
+ {
+ job->height = fTitle->height;
+ hb_fix_aspect( job, HB_KEEP_HEIGHT );
+ }
}
job->pixel_ratio = [[chosenPreset objectForKey:@"PicturePAR"] intValue];
[fPicSettingDeinterlace setStringValue: [NSString stringWithFormat: @"%d",[[chosenPreset objectForKey:@"PictureDeinterlace"] intValue]]];