summaryrefslogtreecommitdiffstats
path: root/macosx/HBQueueController.mm
diff options
context:
space:
mode:
authordynaflash <[email protected]>2010-06-18 19:49:26 +0000
committerdynaflash <[email protected]>2010-06-18 19:49:26 +0000
commit24cc8113b9baf7d7d6dc36a6a0d260e3bd28d71b (patch)
tree5095ddff8136cf4491e3ea51467ffaa2561941b1 /macosx/HBQueueController.mm
parentf265864baebe7adb64bc9685557937b41053f9c9 (diff)
MacGui: Peak Framerate initial implementation
- Adds a checkbox below the fps drop down to allow selecting pfr as long as Same as Source is not selected. - Checkbox is shows and hides based on the fps dropdown. - Uses job->cfr = 2 instead of 1 to enable libhb's pfr mode. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3390 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBQueueController.mm')
-rw-r--r--macosx/HBQueueController.mm7
1 files changed, 7 insertions, 0 deletions
diff --git a/macosx/HBQueueController.mm b/macosx/HBQueueController.mm
index 9f7ce38a0..856f10fd6 100644
--- a/macosx/HBQueueController.mm
+++ b/macosx/HBQueueController.mm
@@ -1325,7 +1325,14 @@ return ![(HBQueueOutlineView*)outlineView isDragging];
else
{
/* we have a specified, constant framerate */
+ if ([[item objectForKey:@"VideoFrameratePFR"] intValue] == 1)
+ {
+ videoInfo = [NSString stringWithFormat:@"%@ Framerate: %@ (peak framerate)", videoInfo ,[item objectForKey:@"VideoFramerate"]];
+ }
+ else
+ {
videoInfo = [NSString stringWithFormat:@"%@ Framerate: %@ (constant framerate)", videoInfo ,[item objectForKey:@"VideoFramerate"]];
+ }
}
if ([[item objectForKey:@"VideoQualityType"] intValue] == 0)// Target Size MB