diff options
author | Rodeo <[email protected]> | 2011-08-16 15:45:41 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2011-08-16 15:45:41 +0000 |
commit | 1bd57899117e7b796d95cade71520dc87984a197 (patch) | |
tree | e07b7b5983af101897c3f1d5f18e727bd573ca76 /macosx | |
parent | 356f4d167d59fb486541c280867f1b27a7d05690 (diff) |
Blu-ray: display playlist number in log, CLI scan output, and title drop-down.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4182 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/Controller.m | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m index 9595a2748..8821e758f 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -1894,10 +1894,20 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It feature_title = i; } - [fSrcTitlePopUp addItemWithTitle: [NSString - stringWithFormat: @"%@ %d - %02dh%02dm%02ds", - currentSource, title->index, title->hours, title->minutes, - title->seconds]]; + if( title->type == HB_BD_TYPE ) + { + [fSrcTitlePopUp addItemWithTitle: [NSString + stringWithFormat: @"%@ %d (%05d.MPLS) - %02dh%02dm%02ds", + currentSource, title->index, title->playlist, + title->hours, title->minutes, title->seconds]]; + } + else + { + [fSrcTitlePopUp addItemWithTitle: [NSString + stringWithFormat: @"%@ %d - %02dh%02dm%02ds", + currentSource, title->index, + title->hours, title->minutes, title->seconds]]; + } } /* if we are a stream, select the first title */ |