From 0f1c5f7ee464dcfaefeb163095440a1f18cb5e85 Mon Sep 17 00:00:00 2001 From: dynaflash Date: Wed, 24 Sep 2008 17:04:01 +0000 Subject: MacGui: queue - add the file output name to the first title line in the queue, and make the framerate chosen more descriptive. - Output names makes it easier to distinguish multiple encodes from the same source when the item is collapsed in the queue. - Include info on constant frame rate and vfr detelecine in the video section. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1754 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/HBQueueController.mm | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/macosx/HBQueueController.mm b/macosx/HBQueueController.mm index bb06ae47c..85ca1cbfc 100644 --- a/macosx/HBQueueController.mm +++ b/macosx/HBQueueController.mm @@ -879,7 +879,10 @@ if (fWorkingCount > 0) [finalString appendString:[NSString stringWithFormat:@"%@", [item objectForKey:@"SourceName"]] withAttributes:titleAttr]; - summaryInfo = [NSString stringWithFormat: @" (%@, %@, %@)", titleString, chapterString, passesString]; + /* lets add the output file name to the title string here */ + NSString * outputFilenameString = [[item objectForKey:@"DestinationPath"] lastPathComponent]; + + summaryInfo = [NSString stringWithFormat: @" (%@, %@, %@) -> %@", titleString, chapterString, passesString, outputFilenameString]; [finalString appendString:[NSString stringWithFormat:@"%@\n", summaryInfo] withAttributes:detailAttr]; @@ -1070,7 +1073,26 @@ if (fWorkingCount > 0) /* Sixth Line Video Details*/ NSString * videoInfo; videoInfo = [NSString stringWithFormat:@"Encoder: %@", [item objectForKey:@"VideoEncoder"]]; - videoInfo = [NSString stringWithFormat:@"%@ Framerate: %@", videoInfo ,[item objectForKey:@"VideoFramerate"]]; + + /* for framerate look to see if we are using vfr detelecine */ + if ([[item objectForKey:@"JobIndexVideoFramerate"] intValue] == 0) + { + if ([[item objectForKey:@"PictureDetelecine"] intValue] == 1) + { + /* we are using same as source with vfr detelecine */ + videoInfo = [NSString stringWithFormat:@"%@ Framerate: Same as source (vfr detelecine)", videoInfo]; + } + else + { + /* we are using a variable framerate without dropping frames */ + videoInfo = [NSString stringWithFormat:@"%@ Framerate: Same as source (variable)", videoInfo]; + } + } + else + { + /* we have a specified, constant framerate */ + videoInfo = [NSString stringWithFormat:@"%@ Framerate: %@ (constant framerate)", videoInfo ,[item objectForKey:@"VideoFramerate"]]; + } if ([[item objectForKey:@"VideoQualityType"] intValue] == 0)// Target Size MB { -- cgit v1.2.3