summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordynaflash <[email protected]>2007-06-19 15:18:11 +0000
committerdynaflash <[email protected]>2007-06-19 15:18:11 +0000
commit7394995e1ee8ed1f9c8deb6c82a686757a532cd4 (patch)
tree25c43e5ec6c2c063a909b877d5b7314db8e3627d /macosx
parent08baae5e5eb52053fde79b6519ea6fa5f184b34a (diff)
MacGui: Chapter Popup fix condition where user can select a start chapter greater than the end chapter
- Old behavior would result in a 00:00:00 encode - Now checks upon change and defaults to a single chapter rip relative to the start chapter. - Also fixed audio bitrate title in gui window from (Hz) to (khz) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@625 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r--macosx/Controller.mm12
-rw-r--r--macosx/English.lproj/MainMenu.nib/info.nib3
-rw-r--r--macosx/English.lproj/MainMenu.nib/keyedobjects.nibbin122179 -> 122180 bytes
3 files changed, 13 insertions, 2 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm
index 0537815c1..e07f925d0 100644
--- a/macosx/Controller.mm
+++ b/macosx/Controller.mm
@@ -1259,7 +1259,17 @@ return registrationDictionary;
- (IBAction) ChapterPopUpChanged: (id) sender
{
- hb_list_t * list = hb_get_titles( fHandle );
+
+ /* If start chapter popup is greater than end chapter popup,
+ we set the end chapter popup to the same as start chapter popup */
+ if ([fSrcChapterStartPopUp indexOfSelectedItem] > [fSrcChapterEndPopUp indexOfSelectedItem])
+ {
+ [fSrcChapterEndPopUp selectItemAtIndex: [fSrcChapterStartPopUp indexOfSelectedItem]];
+ }
+
+
+
+ hb_list_t * list = hb_get_titles( fHandle );
hb_title_t * title = (hb_title_t *)
hb_list_item( list, [fSrcTitlePopUp indexOfSelectedItem] );
diff --git a/macosx/English.lproj/MainMenu.nib/info.nib b/macosx/English.lproj/MainMenu.nib/info.nib
index f582e6f45..0973bee18 100644
--- a/macosx/English.lproj/MainMenu.nib/info.nib
+++ b/macosx/English.lproj/MainMenu.nib/info.nib
@@ -19,8 +19,9 @@
</array>
<key>IBOpenObjects</key>
<array>
- <integer>29</integer>
<integer>1162</integer>
+ <integer>21</integer>
+ <integer>29</integer>
</array>
<key>IBSystem Version</key>
<string>8P2137</string>
diff --git a/macosx/English.lproj/MainMenu.nib/keyedobjects.nib b/macosx/English.lproj/MainMenu.nib/keyedobjects.nib
index 79978bf84..9dcc7ae58 100644
--- a/macosx/English.lproj/MainMenu.nib/keyedobjects.nib
+++ b/macosx/English.lproj/MainMenu.nib/keyedobjects.nib
Binary files differ