summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordynaflash <[email protected]>2008-09-24 17:04:01 +0000
committerdynaflash <[email protected]>2008-09-24 17:04:01 +0000
commit0f1c5f7ee464dcfaefeb163095440a1f18cb5e85 (patch)
tree92d86e7f52e1280cbd0c647a4d94c4e1219c13e7
parentb880ebe93ec5dedd22c77cc3a80d88a061ec82d3 (diff)
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
-rw-r--r--macosx/HBQueueController.mm26
1 files 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
{