summaryrefslogtreecommitdiffstats
path: root/macosx/HBUtilities.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBUtilities.m')
-rw-r--r--macosx/HBUtilities.m12
1 files changed, 6 insertions, 6 deletions
diff --git a/macosx/HBUtilities.m b/macosx/HBUtilities.m
index 7618c4263..eec539c2b 100644
--- a/macosx/HBUtilities.m
+++ b/macosx/HBUtilities.m
@@ -105,16 +105,16 @@
}
else if ([formatKey isEqualToString:@"{Quality/Bitrate}"])
{
- if (quality)
+ if (bitrate)
{
- // Append the right quality suffix for the selected codec (rf/qp)
- [name appendString:[[NSString stringWithUTF8String:hb_video_quality_get_name(codec)] lowercaseString]];
- [name appendString:[NSString stringWithFormat:@"%0.2f", quality]];
+ [name appendString:@"abr"];
+ [name appendString:[NSString stringWithFormat:@"%d", bitrate]];
}
else
{
- [name appendString:@"abr"];
- [name appendString:[NSString stringWithFormat:@"%d", bitrate]];
+ // Append the right quality suffix for the selected codec (rf/qp)
+ [name appendString:[[NSString stringWithUTF8String:hb_video_quality_get_name(codec)] lowercaseString]];
+ [name appendString:[NSString stringWithFormat:@"%0.2f", quality]];
}
}
else