diff options
author | Rodeo <[email protected]> | 2015-05-29 22:20:35 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2015-05-29 22:20:35 +0000 |
commit | 93fb333304b2493a50623b04caac95b53eca3240 (patch) | |
tree | 6770a27513b3c5f1d8a5231cfad9692d3fcd7329 /macosx/HBJob+UIAdditions.m | |
parent | 1538772d963815afb194a80fe73e751d75badb99 (diff) |
MacGui: don't hardcode which encoders support the preset system.
Just ask libhb instead.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7243 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBJob+UIAdditions.m')
-rw-r--r-- | macosx/HBJob+UIAdditions.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBJob+UIAdditions.m b/macosx/HBJob+UIAdditions.m index 71696e877..2d126dd5b 100644 --- a/macosx/HBJob+UIAdditions.m +++ b/macosx/HBJob+UIAdditions.m @@ -302,7 +302,7 @@ static NSDictionary *shortHeightAttr; [finalString appendString:@"\n" withAttributes:detailAttr]; - if (self.video.encoder == HB_VCODEC_X264 || self.video.encoder == HB_VCODEC_X265) + if (hb_video_encoder_get_presets(self.video.encoder) != NULL) { // we are using x264/x265 NSString *encoderPresetInfo = @""; |