summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.mm
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: Layout refinements courtesy of hawkmandynaflash2007-08-161-6/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@817 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add height check for keep aspect ratio on when selecting a preset.dynaflash2007-08-141-0/+10
| | | | | | - Patch courtesy of BradleyS, Thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@807 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix bug where 2 pass turbo, if checked, would stay checked and ↵dynaflash2007-08-141-0/+2
| | | | | | | | enabled when switching to Constant Quality. - Thanks eddyg for the heads up ! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@806 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Denoise filter initial implementationdynaflash2007-08-141-6/+46
| | | | | | | - Add Denoise NSPopUp to Picture Window - Contains None, Weak, Medium, Strong. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@805 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add detelecine parameter to Presets using key PictureDetelecine.dynaflash2007-08-131-1/+8
| | | | | | | - note, this is currently only observed is use current picture settings is specified at the time of preset creation. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@803 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Nerfing the presets a little more.jbrjake2007-08-131-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@802 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: nerfs the presets, as collapsible triangle folder thingies are ↵jbrjake2007-08-131-9/+79
| | | | | | waiting for the next release. Also adds one for CRF (shamelessly ripped from Sharktooth's CQ-ASP_Q2_eq(crf) profile for MEGui.) Hopefully I watered the presets down enough, but who knows...they might still encode too slowly for the masses. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@801 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Detelecine initial implementationdynaflash2007-08-131-2/+28
| | | | | | | - Added -VideoFramerateChanged method to controller.mm to detect NTSC Film content to error check detelecine. - Auto detected or manually choosing 23.967 (NTSC Film) disables detelecine checkbox in the picture preview window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@800 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: tweaks the deinterlacing parameters.jbrjake2007-08-111-6/+6
| | | | | | | | | -Slow becomes yadif 0 -Slower becomes yadif 2, mcdeint 1 -Slowest becomes yadif 1, mcdeint 2 Thanks for the recommendations, huevos_rancheros. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@797 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: modifies some presets.jbrjake2007-08-101-15/+232
| | | | | | | | | | | | - Removes "HB-" from the preset names. - Adds Broke preset for people who still encode to CD size. - Adds Blind preset for people who want an encode done *right now*. - Adds Deux Six Quatre preset with commonly found x264 settings. - Changes iPhone preset audio bitrate to 128 (160 is incompatible, unlike on the iPod). - Applies turbo to all existing presets that used 2-pass. - Switches the Animation and Television presets to use "Same as source" fps. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@795 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add Descriptive Tags to Frame Rate Drop Downdynaflash2007-08-071-3/+22
| | | | | | | | - 23.976 (NTSC Film) - 25 (PAL Film/Video) - 29.97 (NTSC Video) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@790 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Send to MetaX upon completion preference initial implementation.dynaflash2007-08-031-1/+10
| | | | | | | | | | - Thanks Rodney (MetaX dev)! - Default is off - Upon completion of encode, if checked in prefs, HB will send the finished movie to MetaX for meta tagging. - currently only sends a single encode. If using the queue, will send the last job in the queue only. - In talking to Rodney some work might have to be done on the MetaX side if we ever want to be able to send an entire queue to MetaX all at once. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@785 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Use Ritsuka's gear icon at the bottom of the preset drawer.dynaflash2007-08-021-58/+53
| | | | | | | | - Thanks Ritsuka! - Replaces fugly "Make Default" and "Update" buttons - Contains a contextual menu which currently contains "Make Default" and "Update Built-In Presets" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@779 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix broken progress bar when selecting a non existing row in the ↵dynaflash2007-08-011-1/+1
| | | | | | | | | Presets NSTableView - bug was introduced on a recent checkin. - Thanks gbooker for the patch and bringing it to our attention! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@777 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix Chapter Markers for MKVdynaflash2007-07-311-13/+14
| | | | | | - changed old sanity check in -PrepareJob which limited it to just mp4 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@774 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: New deinterlace initial implementationdynaflash2007-07-311-26/+57
| | | | | | | | | | | | | | | | - Replace old deinterlace checkbox with NSPopUp Button New Settings: - None: No deinterlacing - Fast: Original HB deinterlacing - Slow: Yadif Mode 1 - Slower: Yadif and Mcdeint - Slowest: Yadif and Mcdeint Presets still work, any old one will use None or Fast above. New ones will accurately reflect the correct choice. Note: need to determine if the preview is still reflecting deinterlacing on or off. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@772 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fixed a minor bug where selecting the HB factory supplied default ↵dynaflash2007-07-311-1/+1
| | | | | | preset (currently HB-Normal) as your user specified preset would not make it bold until next launch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@769 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Preset selected Pic values and Audio Bitrates are now respected ↵dynaflash2007-07-311-131/+132
| | | | | | across source and title changes git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@768 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Preset croppingdynaflash2007-07-311-7/+13
| | | | | | - forgot to add the code to revert autocropping back to on and set values if "Source Maximum" was set for a preset in previous commit :) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@766 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Enhanced Picture Settings in Presets (esp. cropping)dynaflash2007-07-311-16/+28
| | | | | | | | | | When creating a preset, three choices exist for picture settings: - None: Preset has no effect on any picture settings - Current: Preset will apply whatever picture settings were in effect at the time the preset was created (including deinterlace, par and *cropping) - Source Maximum (post scan): Preset will apply the maximum picture settings for each source and auto crop (basically the same picture settings that were in effect right after the source scan and nothing was modified with auto cropping enabled) Anamorphic and Deinterlace will be set according to general preferences - * Note on cropping with Current set for preset: If cropping was set to "Auto" at the time the preset was created, the preset will then use the sources auto crop values. If, however the cropping was set to "Custom" at the time the preset was created the preset will apply the custom cropping values to each source from when the preset was created. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@765 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Default Presets Initial Implementation dynaflash2007-07-301-4/+115
| | | | | | | | | | - Allows user to set a given preset as a default which will be used upon launch. As well, if user has not specified a preset as the default, HB will use the "HB - Normal" Built-in Preset at launch. - Added the "Make Default" button at the bottom of the Presets Drawer. - Default Preset is shown in Bold in the Presets Drawer - Added a Select Default Preset command to the "Presets" Menu in the Menu Bar. -- Note: the buttons and other display stuff is not set in stone, once again, initial function over form on intitial implementation. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@764 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Use auto-cropping for iPod High-Rez, iPhone, and PSP presets.jbrjake2007-07-291-0/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@759 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Patch from huevos_rancheros to restore 2-pass functionality, which broke ↵jbrjake2007-07-271-1/+5
| | | | | | when the new filters got added. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@758 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Enable Turbo 2 pass for MKV x264dynaflash2007-07-271-2/+4
| | | | | | - used the FormatSettings structure to determine the video codec chosen in the logic git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@756 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Enable Turbo 2 pass when using AVI x264dynaflash2007-07-271-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@755 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Added "Put Computer to Sleep" and "Shut Down Computer" to the ↵dynaflash2007-07-271-122/+143
| | | | | | | | | | notifications when encode is done. - Thanks hawkman! - In ComboBox, left only the original selections visible unless you scroll down. - When one of these is selected, especially shutdown computer, we might want to post an alert when you start encoding to remind you that HB will shut down your computer when it done. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@754 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add the Disc icon for the toolbar that I forgot in the last commit :(dynaflash2007-07-271-1/+1
| | | | | | - changed the NSTimer for UpdateUI from .2 to .5 which should alleviate a bit of the gui's overhead and HB can use all of the cpu cycles it can get. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@751 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add a "Source" icon to the toolbardynaflash2007-07-271-4/+23
| | | | | | | | - Replaces the old "Browse" button that was in the Source section of the main window - For now, uses a Disc icon from the icon developer Matt Ball. Should get replaced with something less "Disc-centrict" as we can now use Transport Streams as a source. - Thanks hawman for this one ! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@750 b64f7644-9d1e-0410-96f1-a4d463321fa5
* This huge patch from huevos_rancheros ports a number of video filters from ↵jbrjake2007-07-271-0/+23
| | | | | | | | | | mencoder to HandBrake: yadif+mcdeint, hqdn3d, pp7, and pullup+softskip+harddup. What this means is that HB now has stateless inverse telecine, temporal denoising, and motion-adaptive deinterlacing! HandBrake is growing up =) Thank you, huevos_rancheros! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@749 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: adds advanced x264 option widgets for analyse, 8x8dct, and, just for ↵jbrjake2007-07-271-4/+151
| | | | | | | | | eddyg, cabac. Been awhile since I added any of these; hopefully I didn't break anything in the process. God do we need to split these and the presets off to separate source files. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@746 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: corrects the output width displayed in the main window and in ↵jbrjake2007-07-261-0/+2
| | | | | | picture settings, when anamorphic is enabled. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@745 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Integrate Source Scanning into Main Window and permanently disable ↵dynaflash2007-07-261-8/+47
| | | | | | | | | | | | | DVD Drive Auto Detect - Choose DVD directly if necessary out of the Browse window - No longer use sheets to show scan progress - Added Scan Progress bar under Source section of main window - Removed the "Browse" button in source section in anticipation of a "Source" icon in Toolbar - For now, use File -> Select Source in Main Menu to get a new source (used to be "Select DVD"). Note: this is the same as 0.7.1 - Removed disable dvd auto detect from the prefs nib git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@742 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: "Ritsuka Bar" toolbar initial implementationdynaflash2007-07-251-73/+329
| | | | | | | | | - Thanks goes to Ritsuka! - Moves the Start/Cancel, Pause/Resume, Presets Drawer and Activity Window (previously debug) controls into a nice toolbar at the top of the main window - Resizes the height of the main window to allow for the progress bar at the bottom during encoding - Small change in that now muxmkv.c is included in the xcode project under libhb resources. Instead of under the main project heading. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@733 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: adds a bunch more presetsjbrjake2007-07-241-6/+557
| | | | | | | | | | | | | | | - HB-Normal (a new default, not yet active) - HB-Classic (the default up until now) - HB-QuickTime - HB-Film - HB-Television - HB-Animation - HB-Bedlam (maxed out settings, crazier than MeGUI's HQ-Insane) - HB-iPhone Also touched up some of the existing ones' descriptions and increased the motion estimation and subpixels for the PS3. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@724 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Matroska initial implementationdynaflash2007-07-171-10/+44
| | | | | | | | - as far as I can tell we should be getting all of the codec combinations. - Anamorphic - Chapter Markers git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@706 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: x264 options are now retained even after you customize a preset.dynaflash2007-07-161-16/+2
| | | | | | - was fixed once, behavior crept back in so now its out again. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@702 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Active Queue Initial Implementationdynaflash2007-07-161-127/+151
| | | | | | | | | - Warning: currently, when adding jobs during encoding, the main window progress bar and task info gets hosed, if a workaround via libhb cannot be easily obtained, a cocoa workaround is available for checkin. - Can now add jobs during encoding - Scan progress bar is a barber pole until scanning progress during encoding is fine tuned. - Needs further testing if DVD Auto Detect is turned on. If conflicts with drive arise, automatically turning off dvd auto detect when adding jobs during encoding is ready for checkin. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@695 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Small fix in main windowdynaflash2007-07-091-1/+2
| | | | | | - gray out the auto crop field during encode git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@665 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Enhanced Queue initial implementationdynaflash2007-07-091-1/+1
| | | | | | | | | - Enhanced queue readout shows alot more detail about each job. - Prepares MacGui for "Live Queue" where jobs can be added during an encode. - Currently, you can add jobs during encoding but cannot access source currently being encoded. - Dev note: some of this is kludgy, but can streamline once functionality is tested. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@664 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add auto crop value to main windowdynaflash2007-07-061-16/+48
| | | | | | | | - shows if you are using Auto or Custom cropping in the Video tab of the main window. - Prepares controller.mm to better use custom/auto cropping values particularly with presets. - Required since auto crop is not currently stored in a title or job variable, and proper use of cropping for presets requires the preset to know what cropping to actually use. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@651 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Presets use white font when selecting built in presets (previously ↵dynaflash2007-06-291-4/+29
| | | | | | | | stayed blue which sucked since it was highlighted in blue, so you couldnt read it when selected). - Also some test shadow code to shadow the highlighted font similar to Mail.app. In testing looks poor, so its commented out for now. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@644 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add description field and tooltips for Presetsdynaflash2007-06-291-1/+35
| | | | | | | | - Add description NSTextField to the Add New Preset Panel - Added descriptions for the Built-In Presets (be sure to use "Update Built-In Presets" in the Presets menu to get descriptions) - Added Tooltips to the presets drawer which shows the description of the preset. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@643 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Built In Presets - Added iPod Low-Resdynaflash2007-06-281-21/+90
| | | | | | - Changed current iPod to "iPod High-Res" and changed its opt string to keyint=300:keyint-min=30:bframes=0:cabac=0:ref=1:vbv-maxrate=1500:vbv-bufsize=2000:analyse=all:me=umh:subme=6:no-fast-pskip=1 as per rhester git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@642 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Re-Add Preference to enable 64 bit mp4 files option in the main window. dynaflash2007-06-281-2/+10
| | | | | | - This is a reversion to a feature added in 620 that was then taken back out in 621. Due to the breaking of so many target devices, we should error on the side of caution here. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@641 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: ScanController modification so it skips the opening scan choice ↵dynaflash2007-06-201-2/+3
| | | | | | | | | | | | sheet and goes right to the file browse window if the "DVD Auto Detect" is turned off in the preferences. Saves a few clicks on selecting source files. Also, small change to controller.mm so that if an invalid source is selected, it shows up instead of the dvd name. Scan panel if no auto detect could use a bit of fine tuning, but it works. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@627 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Close Main Window issue fixed.dynaflash2007-06-191-3/+23
| | | | | | | | - Can now close the main HB window while HB is running and then re-open it with the "Main Window" selection in the "Window" toolbar menu without disturbing the current encode. - Note: should probably add "Main Window" to the Dock Icon Context menu as well. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@626 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Chapter Popup fix condition where user can select a start chapter ↵dynaflash2007-06-191-1/+11
| | | | | | | | | | | 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
* MacGui: Pref for Encode Done alert addeddynaflash2007-06-181-13/+25
| | | | | | | - Added combobox to the Preferences nib so user can select "None", "Alert Window", "Growl Notification", "Alert Window and Growl Notification". - Defaults to "Alert Window" if user has never set it before. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@624 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove Preference introduced in rev 620 to make users enable 64bit ↵dynaflash2007-06-141-4/+1
| | | | | | | | mp4 option. The option is available at all times as per jbrjake. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@621 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: + 4 GB Mpeg-4 modificationdynaflash2007-06-141-1/+4
| | | | | | | - adds a preference in the preferences window under advanced to turn on the option to use 64 bit formatting. - default is unchecked, so unless the user checks this preference, they will never even see the option in the main window, and HB will ignore it all of the time. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@620 b64f7644-9d1e-0410-96f1-a4d463321fa5