summaryrefslogtreecommitdiffstats
path: root/macosx/HBQueueController.mm
diff options
context:
space:
mode:
authordynaflash <[email protected]>2011-04-15 22:42:31 +0000
committerdynaflash <[email protected]>2011-04-15 22:42:31 +0000
commit61460ce74a948d7ba36240fbc9fb658168c2f834 (patch)
tree008edf65127bc4026546c7b835f5333bba807265 /macosx/HBQueueController.mm
parenta264b3c24c8ef687cac5325753be29f1b0f1d9f9 (diff)
MacGui: implement Frame Rate Mode as per the Lingui.
- Removes the current Peak Framerate checkbox and replaces it with appropriate Radio Buttons depending on if Same as Source or a specific framerate is chosen in the Frame Rate popup widget. - Gets the macgui up to speed with https://trac.handbrake.fr/changeset/3770 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3930 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBQueueController.mm')
-rw-r--r--macosx/HBQueueController.mm12
1 files changed, 6 insertions, 6 deletions
diff --git a/macosx/HBQueueController.mm b/macosx/HBQueueController.mm
index 738514622..6cfddf939 100644
--- a/macosx/HBQueueController.mm
+++ b/macosx/HBQueueController.mm
@@ -1246,27 +1246,27 @@ return ![(HBQueueOutlineView*)outlineView isDragging];
/* for framerate look to see if we are using vfr detelecine */
if ([[item objectForKey:@"JobIndexVideoFramerate"] intValue] == 0)
{
- if ([[item objectForKey:@"PictureDetelecine"] intValue] == 1)
+ if ([[item objectForKey:@"VideoframerateMode"] isEqualToString:@"vfr"])
{
/* we are using same as source with vfr detelecine */
- videoInfo = [NSString stringWithFormat:@"%@ Framerate: Same as source (vfr detelecine)", videoInfo];
+ videoInfo = [NSString stringWithFormat:@"%@ Framerate: Same as source (Variable Frame Rate)", videoInfo];
}
else
{
/* we are using a variable framerate without dropping frames */
- videoInfo = [NSString stringWithFormat:@"%@ Framerate: Same as source (variable)", videoInfo];
+ videoInfo = [NSString stringWithFormat:@"%@ Framerate: Same as source (Constant Frame Rate)", videoInfo];
}
}
else
{
/* we have a specified, constant framerate */
- if ([[item objectForKey:@"VideoFrameratePFR"] intValue] == 1)
+ if ([[item objectForKey:@"VideoframerateMode"] isEqualToString:@"pfr"])
{
- videoInfo = [NSString stringWithFormat:@"%@ Framerate: %@ (peak framerate)", videoInfo ,[item objectForKey:@"VideoFramerate"]];
+ videoInfo = [NSString stringWithFormat:@"%@ Framerate: %@ (Peak Frame Rate)", videoInfo ,[item objectForKey:@"VideoFramerate"]];
}
else
{
- videoInfo = [NSString stringWithFormat:@"%@ Framerate: %@ (constant framerate)", videoInfo ,[item objectForKey:@"VideoFramerate"]];
+ videoInfo = [NSString stringWithFormat:@"%@ Framerate: %@ (Constant Frame Rate)", videoInfo ,[item objectForKey:@"VideoFramerate"]];
}
}