summaryrefslogtreecommitdiffstats
path: root/macosx/HBJob+HBJobConversion.m
diff options
context:
space:
mode:
authorTim Walker <[email protected]>2016-03-29 23:28:53 +0200
committerTim Walker <[email protected]>2016-03-31 01:05:16 +0200
commitbda943b293390b3939b00d3e951f4a60c0a6ef9f (patch)
tree88b84ce10ff76d15eb2825d8bb21c2fef2d1217b /macosx/HBJob+HBJobConversion.m
parentf62eab7af77982d8a161d2714d237f3b7bda3cf8 (diff)
macosx: fix incorrect assumption that video quality is always positive.
Diffstat (limited to 'macosx/HBJob+HBJobConversion.m')
-rw-r--r--macosx/HBJob+HBJobConversion.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBJob+HBJobConversion.m b/macosx/HBJob+HBJobConversion.m
index 8914b34d4..d26e2cea0 100644
--- a/macosx/HBJob+HBJobConversion.m
+++ b/macosx/HBJob+HBJobConversion.m
@@ -210,7 +210,7 @@
{
case 0:
// ABR
- job->vquality = -1.0;
+ job->vquality = HB_INVALID_VIDEO_QUALITY;
job->vbitrate = self.video.avgBitrate;
break;
case 1: