diff options
author | eddyg <[email protected]> | 2007-08-21 12:32:50 +0000 |
---|---|---|
committer | eddyg <[email protected]> | 2007-08-21 12:32:50 +0000 |
commit | ed681dc8384f8913baf4fdd6cf7b93d1acde5f41 (patch) | |
tree | f265079eba08a58cfa5f6499134327304ec684ba /macosx | |
parent | 5724b4fe37ab0c92a4430124a352ec38044630c6 (diff) |
Fixed up what a subtitle scan looks like in the GUI job queue
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@847 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/QueueController.mm | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/macosx/QueueController.mm b/macosx/QueueController.mm index da52a6c12..0afe92390 100644 --- a/macosx/QueueController.mm +++ b/macosx/QueueController.mm @@ -97,7 +97,18 @@ title = j->title; /* show the name of the source Note: use title->name instead of title->dvd since name is just the chosen folder, instead of dvd which is the full path*/ - [self AddTextField: [NSString stringWithFormat: + if (j->pass == -1) + { + /* + * Scan pass + */ + [self AddTextField: [NSString stringWithFormat: + @"Task: %d Source: %s, Title %d, Chapters %d-%d Pass: Scan",i+1, title->name, title->index , j->chapter_start, j->chapter_end] rect: &rect]; + } else { + /* + * Normal pass + */ + [self AddTextField: [NSString stringWithFormat: @"Task: %d Source: %s, Title %d, Chapters %d-%d Pass: %d of %d",i+1, title->name, title->index , j->chapter_start, j->chapter_end,MAX( 1, j->pass ), MIN( 2, j->pass + 1 )] rect: &rect]; /* Muxer settings (File Format in the gui) */ if (j->mux == 65536 || j->mux == 131072 || j->mux == 1048576) { @@ -288,6 +299,7 @@ /*Destination Field */ [self AddTextField: [NSString stringWithFormat: @"Destination: %s", j->file] rect: &rect]; + } /* Show remove button */ [self AddButton: &rect tag: i]; } |