summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.h
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: srt subtitle support initial implementationdynaflash2009-07-161-1/+5
| | | | | | | | | - Allows adding an external srt sub file as a subtitle source. -- Adds fields for srt language, char code and offset in ms. - Known issues: adding the srt file to the sources list also adds a new subtitle track for that source, however to "set" it you have to click on it. - srt subtitles do not seem to work in preview even if set to default. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2699 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: added 64-bit savvy application icon.konablend2009-06-171-0/+3
| | | | | | | | - icon is chosen based on compile-time architecture: HandBrake.icns or HandBrake-64.icns - added action for MainMenu->About to call Controller.showAboutPanel as the default about panel needs dictionary override to force icon. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2547 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Multiple subtitle tracks initial implementationdynaflash2009-06-131-2/+13
| | | | | | | | | | | | | | | | | | | | | - Subtitles now get their own tab - "None" track is an empty track, add a new subtitle track by switching it to a valid source track. - First track allows for "Foreign Language Search" which replaces the old "Auto Select". - Remove a previously selected track by setting it back to "None" - Sanity Checks: -- Allow only one Burned In track. -- Text tracks do not allow burned in to be set. -- MP4 specific: --- Allow only one VobSub and force burned in to be set. ---- Trying to set more than one vobsub in mp4 results in a warning, and the first vobsub track is retained. - Presets: Currently subtitles are not recorded into presets (which they never have been). - Live Preview: -- Foreign Language Search is borked for live preview, so is ignored -- Burned in subtitles work for both mp4 and mkv -- Text subtitles work for mp4 if set to default (preview has no way to turn soft subs on/off) -- Text subtitles do not show up in preview window even if checked as default. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2530 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Preset Import / Export initial implementation and auto updating of ↵dynaflash2009-05-081-1/+10
| | | | | | | | | | | | | | | | | | | built in presets. - Preset Import / Export: -- Export is only available to custom user presets. -- Export is only the selected preset at this time. -- Exported presets will be tagged with their build number. -- Import of mutiple presets. --- Compatible with LinGui presets. --- NOT compatible with WinGui presets at this time. - Built-In preset auto-updating: -- Adds the key/value pair to the UserPresets.plist file for key "PresetBuildNumber". -- If the HandBrake.app build number as defined in the Info.plist key "CFBundleVersion" is > the built in presets "PresetBuildNumber" then the - (IBAction)addFactoryPresets:(id)sender is called to automagically update the built in presets. -- An alert window is shown along with a system beep ( can be turned off in Preferences -> Advanced for svn mavens and devs) to tell the user that the built in presets are going to be updated. -- NOTE: First launch of this build will initiate a built in preset update even though the built in presets are the same, since the build number will be added to the built in presets. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2405 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add libdvdnav supportjstebbins2009-04-271-0/+6
| | | | | | | | | | | emulates the vm of a dvd player in order to navigate the disc more reliably it is optional and disabled by default CLI option '--dvdnav' enables. GUI's have a new option in preferences. When dvdnav is enabled, you can also select angles (cli '--angle') git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2355 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: When launching a second instance of HB, warn of existing instance ↵dynaflash2009-03-161-0/+2
| | | | | | | | and do not alter the existing queue. - Note: this does not mean multi-instance encoding off of one queue file works. For now its just better than messing up the first instances queue. Also useful for ui developing on one instance sans encoding while actually encoding with another instance. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2261 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Put Picture Settings and Video Filters into one inspector.dynaflash2009-03-051-5/+1
| | | | | | | | - Separated in a tab view - Move methods from PictureFilterController into PictureController - NOTE: This layout, etc is not final as far as detail by any means, however ... did not want to get too far out from svn due to the mods to xcode and the current development of the build system. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2226 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: ritsuka2009-03-021-1/+1
| | | | | | | | - Switched some float to CGFloat and int to NSInteger. - Fixed a warning in writeToActivityLog: when compiling with gcc-4.2 - Fixed an issue when dragging items in the queue if the item was not already selected. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2199 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui:ritsuka2009-03-021-0/+2
| | | | | | | | - Limited the handbrake dock icon refresh to a maximum of 20 for encode. It was a bit pointless to update it two times a second. - Another try at fixing the main window progress indicator. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2196 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui; fixed warnings related to 64bit cocoa.ritsuka2009-03-011-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2183 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Constant Quality Slider now QP/RF based.dynaflash2009-02-101-0/+4
| | | | | | | | | | | | | | | | | - Constant Quality Slider now uses QP/RF values instead of the long maligned % scale. - Nearest percentage is also shown for reference. -- For reference, PercentRFConversion on the wiki is a table of corresponding values for the old and new scales. - Slider changes scale base on the chosen encoder. -- x264: 0-51 -- FFmpeg and Xvid: 1-31 -- Theora: 0-63 - x264 Specific - Slider allows for fractional granularity (other encoders just whole ints). -- Advanced Preference to adjust the granularity from 1.0,0.50,0.33,0.25,0.20 with a default of 0.25. - Existing presets using the % based values converted to the nearest QP/RF value (within the granularity of the slider). -- Example: A current preset using x264 at 62% will now actually use 61.76% since the nearest RF value converted to 62% is 19.50 with the slider set to 0.25 granularity. -- New presets created will store the QP/RF value instead of the % value. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2135 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Video Filter and Picture Settingsdynaflash2009-02-061-27/+10
| | | | | | | | | | | - Changed picture settings and video filter display in the main window to three text fields (removed 24 outlets and text fields). Its a hoky layout right now, but I have a feeling the video tab will be changing. - Show actual cropping values in the main window as well as Auto/Custom - Show custom filter settings if used. - Removed redundant anamorphic calculation code. Its now accessed from each controller that needs it from preview controller - Fixed an issue where decomb from a previous preset would linger in a preset that did not have decomb specified. - Updated the queue display to show custom filter info if present. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2125 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Picture Filters Inspector enhancementsdynaflash2009-02-041-1/+2
| | | | | | | | | | | | | - Add custom settings fields to Detelecine, Decomb, Deinterlace, and Denoise. - Add a two position slider to choose between Decomb and Deinterlace (can no longer run both in the macgui). - Update Presets, Queue, and Live Preview code accordingly. - Moved Grayscale to the Filters inspector and removed it from the main window. - Changed the style of the buttons on both the settings and filters inspectors to better fit in with HUD. Known Issues: - Resizing of the inspector to show/hide the custom fields is a touch ugly. - Setting the filter to "Custom" then not using a custom string, results in default from libhb, though should probably error trap against that actually. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2114 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Picture Filters separate hud inspector initial implementationdynaflash2009-01-261-1/+5
| | | | | | | | - Separates the filters out from the picture settings inspector into their own inspector in preparation for more advanced filters - Gingerbread is shaky but wanted to get the functionality into the svn due the the number of files modified or added. - Adds a toggle action to Picture Settings, Picture Filters and the activity window git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2099 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Separate Picture Settings and Preview Window Initial Implementationdynaflash2009-01-121-1/+9
| | | | | | | | | | | | | | | | | | | | - Picture Settings is now a hud style inspector panel: -- Allows more room to be displayed along with Main Window. -- Has button (though ugly ... for now) to open the preview window. - Separate Preview Window: -- Preview Window can now show the entire preview content via a hud style overlay controller (ala iTunes, DvdPlayer controls) activated by mouse movement. -- Has button to allow opening the Picture Settings inspector. -- Full Screen Mode (ala iTunes, DvdPlayer) which should help for max preview size for HD sources. - Note: all hud style controls in this implementation are created only using core animation filters, I decided against a third party hud control framework, though one can certainly be implemented at any time. - Known Issues: -- WARNING: Quitting HB while in full screen mode will crash the macgui. -- The hud overlay controls in the Preview Window will align kind of wonky when the resolution is scaled way below the source. -- Ideally, after moving the mouse within the preview area then stopping, after a certain amount of time the hud overlay control box should disappear. -- Hud style controls still need alot of development to fit within the HIG. -- Need a keboard shortcut for the Preview Window. -- As usual with initial implementations there are likely many more Bugs/Issues. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2076 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Picture window now uses a subclass of HBController to access the ↵dynaflash2008-12-151-1/+3
| | | | | | | | | main controller. - fixed issue where preview movie keeps playing even if the picture window is closed - Removed deprecated -ClosePanel method since we now use the windows native close button. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2033 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add "Picture Settings" toolbar item to main window toolbardynaflash2008-12-121-1/+0
| | | | | | | | - Currently uses the same icon as the picture item in the preferences toolbar - Performs same function as the "Picture Settings ..." button in the video tab which is to say it opens the picture settings window - Removed the "Picture Settings ..." button in the video tab git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2021 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Live Preview Initial Implementationdynaflash2008-11-241-1/+1
| | | | | | | | | | | | | | - Uses a separate instance of libhb called fPreviewLibhb to do the preview encode. Bypasses the queueing system so you can encode a live preview on one source while encoding another. - All facets of the encode are replicated (including but not limited to audio tracks, subtitles and picture filters) *except* 2 pass. For speed's sake we only do one pass which should be more than sufficient for a 6 to 60 second preview. - Live Preview clips are stored in "~/Library/Application Support/HandBrake/Previews/" and remain until a new preview is called for of the same format in which case the old version of "mymovie.mkv" would be replaced with a current version called "mymovie.mkv". - Uses QTMovieView and QTMovieKit to show 5 - 60 seconds in 5 second increments (determined by a user set NSPopUpButton) of a live preview from the starting point of any of the existing 10 still previews. - Preview window is now non-modal so can be kept open to see the effect of changing presets, etc. - Next and Previous buttons replaced with a 10 position slider - Live Preview is shown same as users QuickTime implementation would show it. ie. without Perian installed, mkv's will not play back, etc. - Uses QT's stock controller bar with volume, scrubber and single frame advance buttons. - Known Issues: Movie alignment against the still preview considering the additional height of the movie controller bar. Particularly using loose anamorphic. I am sure there are others. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1951 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove check on web optimized and ac3 passthru.ritsuka2008-11-021-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1895 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Finally!! Nested Presets - Initial implementationdynaflash2008-10-141-2/+5
| | | | | | | | | | | | | | | | | | | - Currently just in the Built In presets. - Special thanks to jbrjake for updating the new built in presets :) -- jbrjake's notes on built in preset changes: --- no more blind, broke, bedlam, or deux six quatre presets --- detelecine and decomb for animation and television high profile presets --- new x264 settings for most presets, which are still in a state of flux --- iPod Hi-Rez renamed iPod Legacy, iPod Low-Rez renamed iPod Classic & iPod Nano, iPhone / iPod Touch renamed iPhone & iPod Touch - Make sure to Update your Built In presets. - Selecting the default preset (whether user specified or the hb default) automatically expands the proper parent folders - "Folders" are stored as a different type of preset with key "Folder" where a value of 1 is a folder and 0 is a regular preset. - Children presets (which can also be folder presets with their own children) are stored in an array in the folder preset with key "ChildrenArray" - Levels are limited to three (including the root level). - Though most of the code for creating custom user specified folders and dragging and dropping user presets into those folders is done, its not fully tested so is not currently implemented. In other words custom presets are still only at the root level. - Known issue: dragging and dropping within custom user presets seems a touch "glitchy". Though in testing presets have not been lost. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1831 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: When reloading a previous queue at launch, as well as pending ↵dynaflash2008-09-231-0/+1
| | | | | | | | | | | encodes also reload a queue item marked previously as "encoding" if it exists. - An item marked as encoding in the qeueu at launch indicates that either we crashed during that encode, or that the user shut down during that encode. - If the user chooses to reload, we change the status back to pending. Note: the encode will be at the top of the queue after launch. - Change the queue reload alert window to tell the user how many pending jobs they have as well as if there was an encoding job. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1745 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: "Stop" command modificationsdynaflash2008-09-181-1/+1
| | | | | | | | | | | - Clicking on the "stop" icon in the toolbar now produces a different alert window with three choices - " Continue Encoding " default, just dismisses the window and continues on its merry way. - " Cancel Current and Stop " Cancels the current encode and stops the queue - " Cancel Current and Continue " Cancels the current encode and moves to the next pending encode (if there is one). - Also fixed an issue with deleting a canceled encode at the top of the queue list. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1718 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Resilient Queue: Initial Implementationdynaflash2008-09-161-1/+30
| | | | | | | | | | | | | | | | - Completely overhauls how encodes are setup by the MacGui - All encodes are now stored in an NSMutableArray (QueueFileArray) and saved in a plist (~/Library/Application Support/HandBrake/Queue.plist) - A separate instance of libhb (fQueueEncodeLibhb) is used for queue processing (includes single encodes) - fHandle still takes care of all user intiated scans and encode parameters - libhb now only stores multiple passes for a single encode instead of storing the entire queue - If HB crashes, or if you stop encoding while there are still pending encodes in your queue, upon next launch you will be prompted to reload the previous queue from the Queue.plist - Removed the current encoding information at the top of the queue window to make room for a larger list as I thought it to be redundant - The queue list is now re-arrangeable via drag-n-drop (pending encodes only) - Known issues and bugs: -- If you delete a previously cancelled encode then try to restart with a new encode, nothing happens. Throw off the sync of the currently encoding job. -- Probably alot more since its a total overhaul of how the MacGui has handled encoding since titer originally wrote it :) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1703 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: - Implement automatic extension switching for mp4/m4v.ritsuka2008-07-281-0/+1
| | | | | | | - Disable http mp4 checkbox when an ac3 track is present. - Disable autonaming if there is only one title in the source. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1587 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Replace MVMenuButton with standard controls. Thanks blindjimmy.ritsuka2008-06-251-4/+3
| | | | | | Replace plus and minus icons with apple's one. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1537 b64f7644-9d1e-0410-96f1-a4d463321fa5
* git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1471 ↵jbrjake2008-05-291-2/+3
| | | | b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Remove the "toolbar" variable from Controller. Patch by blindjimmy.ritsuka2008-04-261-2/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1446 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Remove last traces of "_" macro and TranslateString. Patch by ↵ritsuka2008-04-261-2/+0
| | | | | | blindjimmy. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1443 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: replace handbrake.m0k.org references with handbrake.fr in the entire ↵dynaflash2008-04-151-1/+1
| | | | | | macosx/ directory git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1419 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Implement per audio track drcdynaflash2008-04-081-9/+10
| | | | | | | | - Uses a small circular slider for each track - Stops on ticks for .25 granularity - Presets regress from global drc to apply it to all tracks if used in past custom preset. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1397 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Enhance Growl notifications and send to metaX so that each encode is ↵dynaflash2008-04-071-2/+2
| | | | | | | | handled as it comes off of the queue. - Previously only the last encode of a queue gave the finished growl notification and was sent to metaX. Now if specified by the user they happen as the encodes progress through the queue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1388 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Implement per track audio settings.dynaflash2008-04-071-16/+44
| | | | | | | | | | | | | | | | | | | | - Expands the number of audio tracks the macgui can encode to 4. - Everything except drc is now set on a per track basis - Be Gone self limiting "Codecs" PopUp ! - Can now use any audio codecs that the container will support in the same encode - The previous "AAC + AC3" bizarre hybrid is now deprecated and you simply set them up per track - Implement full audio list readout in the queue, tracks are now show one per line in a list like fashion - Queue is no longer hard coded for just two tracks. - Preset code updated to regress to handle previous presets that utilized the codecs popup to determine audio scheme to use - Preset code now handles everything except language selection. - The Format, Video Encoder and Audio codes are all now stored in the appropriate NSPopUp tags for very easy retrieval. - Crazy format, codecs struct is now gone as we get that from the tags. - AC3 Passthru properly shows the input bitrate and 48 khz samplerate in the appropriate popups - Added Theora video encoder to OGM container - Added libtheora to the libhb dylib - NOTE: The check against trying to use AC3 Passthru on a DTS track is broken on the encoder popup. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1385 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Clean up some formatting and errant comments left over from some of ↵dynaflash2008-03-071-20/+3
| | | | | | the snippets I robbed out of HBQueueController on the drag and drop preset commit. :) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1335 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Initial implementation of drag and drop in the presets drawer.dynaflash2008-03-071-2/+29
| | | | | | | | | | - Allows drag and drop arrangement of custom user presets - Does not allow reordering of built in presets. - Sorting of presets now done only by type ie. built in and custom user. - Provides functionality for future nested presets and drag and drop arranging. - Subclasses the presets outline view for better control over drag and drop behavior git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1334 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: move the presets sorting into a new method "-sortPresets" so it can ↵dynaflash2008-03-061-0/+1
| | | | | | be done independently of adding a preset in preparation for drag and drop preset arranging capability. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1329 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix and issue for auto adding the .m4v file extension for the aac + ↵dynaflash2008-02-211-0/+1
| | | | | | | | ac3 encoder for mp4 where reselecting mp4 format would reset the extension back to .mp4 and not .m4v - Moves this to a new method called codecsPopUpChanged: so it is easier to call form multiple methods git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1309 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove deprecated -updateAlertDone method used in the old updating ↵dynaflash2008-01-221-2/+0
| | | | | | | | scheme - Deprecated due to the Sparkle updater implementation git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1225 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Be Gone x264 (h.264 iPod) encoder drop down!dynaflash2008-01-211-0/+2
| | | | | | | | | | | - Added an "Insert iPod Atom" checkbox right under "HTTP optimized" checkbox which sets job->ipod_atom = 1; in prepareJob if checked (Note: the name of the checkbox is currently up for debate, we are taking suggestions though the current name is most indicative of what it does). -Level is now handled in the advanced panel opt strings for x264 and width is no longer sanity checked by the gui. - Changed the remaining x264 (Main) to just x264 - Modified preset code to account for legacy presets from old dropdowns - Modified built in presets to include "level=30" for iPod / iPhone presets NOTE: Update your built in presets if you want the iPod and iPhone presets to be compatible. - Removed the "Reset Picture to 640 for x264 iPod" preference from the Preferences -> Picture panel. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1216 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: establish the source display name in browseSourcesDone instead of ↵dynaflash2008-01-081-0/+1
| | | | | | | | | | showNewScan to alleviate using the same logic twice depending on source type - Also adds the ability to scan .dvdmedia packages - Also changes the xcode project to not report xib messages during building, which previously filled the screen with remedial alignment messages, etc. - .xib warnings and errors are still reported git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1177 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: modify writeToActivityLog to use vargsdynaflash2008-01-081-1/+1
| | | | | | | - thanks travistex - can now accept input like: [self writeToActivityLog: "trying to open a package at: %s", [path UTF8String]]; git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1176 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Macgui: Implement writeToActivityLog method with provides a simple way to ↵dynaflash2008-01-081-1/+1
| | | | | | | | send messages to the activity window and log much like hb_log including a time stamp. - example call : [self writeToActivityLog:"trying to open a package"]; git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1172 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Loose Anamorphic initial implementationdynaflash2008-01-031-14/+8
| | | | | | | | | | - Changes the PAR checkbox to an anamorphic NSPopUp Button with "None", "Strict", and "Loose". - Sanity checks against the ffmpeg encoder, until that gets fixed. - removed six unneeded outlets for picture sizing in Controller.mm. - Previous presets will gracefully degrade to us "Strict" if anamorphic is specified. - I know about the bug where the picture window changes size on the first width drop when resizing Loose Anamorphic, so dont ask ;) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1161 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add outlets for the DRC descriptive labels and disable/enable along ↵dynaflash2007-12-181-0/+4
| | | | | | with the rest of the interface. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1132 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: HTTP optimized mp4 implementationdynaflash2007-12-141-2/+6
| | | | | | | | | - New checkbox to enable http optimized mp4's - Shows/Hides depending on the "format" selection - Presets use new objectForKey:@"Mp4HttpOptimize" - Also renamed the outlet for 64 bit mp4's to more descriptive "fDstMp4LargeFileCheck" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1127 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Dynamic Range Control implemented in the audio tab of the main window.dynaflash2007-12-121-1/+8
| | | | | | | | | | - represented by a slider indicating value from 1.0 to 4.0 - Defaults to 1.0 - Granularity of 1/100 - Implemented in presets - If key for drc is not present, preset will automatically return it to its default of 1.0 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1118 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Update Presets to use NSOutlineView and change the associated ↵dynaflash2007-12-101-18/+27
| | | | | | | | | | methods to support the NSOutlineView delegate required methods. - Change necessary to move to nested presets. - Layout still to be determined - Method to actually change the setting for the preset changed from -tableViewSelected to more appropriate -presetSelected in Controller.mm git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1115 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Built-In Presets moved to new class: HBPresetsdynaflash2007-12-051-20/+3
| | | | | | | | - Built In Presets are now created and defined in the methods in HBPresets.h and HBPresets.m - May move other preset methods here in the future as well. - Updated Jamfile as appropriate git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1098 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Split Picture settings for new preset up into Size and Filters and ↵dynaflash2007-11-291-0/+1
| | | | | | | | | | add VFR to presets - New Add preset Panel - Now can specify how preset uses picture sizing (includes height, width, keep ar, anamorphic and cropping) separately from whether or not it uses Picture Filters (currently includes Deinterlace, Detelecine, VFR, Denoise, and Deblock (pp7) ) - Allows for greater flexibility in setting up your presets git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1086 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add "Open Source (Specify Title)" featuredynaflash2007-11-191-19/+33
| | | | | | | | | | - Optional way to open your source and specify scanning a specific title only ala the cli. - Should help with sources that tend to crash the macgui while scanning the entire source - Only available via the file menu as an additional menu item - All other open source methods are left untouched so to the average user the gui behaves as before. - In the process eliminated unnecessary -showSourceScanPanel method which simply called -browseSources, now all gui widgets call -browseSources directly git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1067 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Added Deblock to filters in Picture Preview Windowdynaflash2007-11-071-0/+2
| | | | | | - Currently uses a checkbox that enables pp7 (default settings) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1046 b64f7644-9d1e-0410-96f1-a4d463321fa5