summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: Add flexible dylib path manipulation so that we can handle external ↵jstebbins2010-06-042-124/+122
| | | | | | | | | | | | | | | | | | dylibs more easily At startup, add any extra dylib paths to DYLD_FALLBACK_LIBRARY_PATH. This is the last path searched by the system for dylibs and we add our paths to the end of it's list, so this will never override any system libs or paths the user has explicitly set. Since applications read the environment once at startup, these changes don't take effect until we restart with execv. In order to avoid a possible exec bomb, we add a parameter to the argv list to prevent any further exec's. Note that this causes a minor glitch when running under gdb. The execv triggers a trap. You just have to 'continue'. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3351 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Set the hud control panels origin based on the size of the actual ↵dynaflash2010-06-021-7/+9
| | | | | | | | | preview window anchored at the bottom instead of setting it at the middle of the window. - Should not block the actual preview as much. - Move the origin setting code from -SetTitle into -displayPreview so that it is recalculated any time a new preview is generated, which includes changing encode size. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3349 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Macgui: Sanity check multiple burned in vobsubs.dynaflash2010-05-261-3/+21
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3328 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Enable soft vobsubs in mp4dynaflash2010-05-252-94/+25
| | | | | | | | | - Initial patch by Rodeo. Thanks Rodeo! - Enables soft vobsubsin macgui as per http://trac.handbrake.fr/changeset/3325 - Due to the fact that currently no quicktime based playback devices (yes, including computers and iphone/ipod/ipad) supports soft vobsubs, "Burned In" is on by default. - Currently soft vobsubs are shown as supported by VLC (Lunettes) and Mplayer on the mac platform. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3326 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Live Preview HUD Overlay playback controller initial implementationdynaflash2010-05-183-39/+914
| | | | | | | | | | | | | | | | | | | - Fixes current issue where a live preview with the display res larger than storage res would not show the built in QTKit control bar. - Replaces the stock QTKit movie controller. - Adds playback time code information to HUD display. - Allows frame by frame scrubbing via keyboard arrow keys. -- Methods exist for frame by frame step through but buttons are not on the HUD overlay yet. Known Bugs: - If movie is playing, first click on the scrubber bar can cause the movie to jump to beginning or end unless scrubber is held and dragged. - Probably some others I haven't seen yet. To Do (not that it ever will get done): - Replace the current crappy stock buttons with some decent ones. - Display accurate frame number hopefully though QTKit offers little documentation to get that exact info. - Add a volume slider and remember the volume setting in the prefs. - Add a subtitle control widget hopefully so that users can see what the subtitles would look like. Other small changes include adding some tooltips to the hud overlay controller widgets to hopefully make it a bit more intuitive. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3300 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Chapter Title import/export functionalitydynaflash2010-05-063-26/+323
| | | | | | | | | - Saves the chapter list to a .csv file which is compatible with the cli and wingui. - Note: comma's in the chapter name are escaped with a "\" to maintain cli compatibility then if necessary stripped upon re import into macgui. - Original patch by borgclone and added to by realityking. Thanks! - Feature development referenced here http://forum.handbrake.fr/viewtopic.php?f=4&t=4146&start=0 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3285 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: reset hb_filter_decomb after use, so switching between default ↵dynaflash2010-04-271-0/+4
| | | | | | decomb and a custom decomb string does cause a garbage string. Thanks j45 for the patch! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3269 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add dvd main feature title detectionjstebbins2010-04-201-9/+6
| | | | | | | | | | | | scans the dvd menus and presses buttons to see where they might lead. when a button press leads to a title, i check to see if it is the longest seen thus far and save it's index. this only applies when dvdnav is enabled. when dvdread is in use, the longest title of all the titles is flagged as the "main feature" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3245 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Allow up to 320 kbps bitrate for stereo and 768 kbps for 6 channel ↵dynaflash2010-04-141-4/+3
| | | | | | discrete when using the faac audio encoder as per rev 3222 to the libhb. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3223 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove another queue incrementing log message.dynaflash2010-04-091-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3211 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove more unneeded activity log messages and clean up some ↵dynaflash2010-04-091-27/+8
| | | | | | commented out code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3210 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove a bunch of verbose activity log messages for Point to Point ↵dynaflash2010-04-091-15/+4
| | | | | | encoding. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3209 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Enable mp3 audio tracks in mp4.dynaflash2010-04-081-0/+3
| | | | | | | - NOTE: Currently not supported by any native apple software including QuickTime even with Perian enabled (obviously applies to iPhone/iPod iPad afaik or really anything). - Is supported by VLC and MPlayer on Mac. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3208 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix issue when selecting a preset with multiple audio tracks (ie. ↵dynaflash2010-04-061-1/+14
| | | | | | | | | AppleTV preset) any track after the first track used the first source track which would cause track mismatches. Now if the first track is set to use source track 3 for instance, the seond track will use source track 3 as well. - Fixes issue where the AppleTv Preset would use a different source track for its AC3 track than the first aac track on some multiple track sources. - Addresses the bug explained here http://forum.handbrake.fr/viewtopic.php?f=12&t=15854 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3202 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add subme 10 to the subpixel motion estimation widget in the ↵dynaflash2010-04-021-1/+1
| | | | | | advanced panel. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3189 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove a bunch of useless comments from the point a to b code.dynaflash2010-04-021-17/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3188 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove the AC3 and DCA audio input codec limitations for selecting ↵dynaflash2010-04-021-8/+2
| | | | | | mono or more importantly 6 channel discrete as per svn rev 3182. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3184 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix crash where a source with no audio crashes the macgui.dynaflash2010-03-261-17/+36
| | | | | | - If no source audio is found, set track 1 to None and disable controls. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3172 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add call to hb_global_close() upon application termination as per ↵dynaflash2010-03-262-1/+5
| | | | | | | | changes in rev 3170 - Also added a missing call to hb_close for the live preview encoding instance git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3171 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix pending encodes left in queue at quit warning that was borked in ↵dynaflash2010-03-091-9/+1
| | | | | | | | 3154. - applicationShouldTerminate was trying to call a method that was removed in that revision which then aborted the rest of the shutdown logic. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3155 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix issue where closing the main window, then clicking on the dock ↵dynaflash2010-03-051-1/+2
| | | | | | | | icon did not make the main window reappear. - Note: this does not fix the issue in snow leopard where minimizing the main window behind the dock icon does not reappear when dock icon is clicked. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3152 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: More Preview Window changes.dynaflash2010-03-051-83/+162
| | | | | | | | | | | - Refactor more code and reduce calls to setViewSize even more. - Correctly show the gray storage size - display size area in both windowed and scale to screen. - Restore 85% max windowed size which was changed in 3124 (unless in scale to screen mode). - Correct Live Preview movie size when in scale to screen. - Depending on window resizing and screen constraints repositioning of window after resize is a bit wonky. - Known issue with live preview, when the movie is the full size of the window, the controller bar does not show during live preview playback, however the movies plays fine. Needs to rescale to allow for the 15 px increase in height for controller bar or better yet, implement hud movie controls. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3151 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Audio fixes regarding CoreAudio as default.dynaflash2010-02-232-75/+34
| | | | | | | | | | | | | | - Base Patch by Rodeo, thanks Rodeo! -- Puts CoreAudo at index 0 in the encoder popup to assure it is selected by default if no preset is applied. -- Fixes issue where going to AC3 or DTS Passthru then back to aac chose faac even if the old "Use CoreAudo instead of FAAC" pref was in effect. -- Removes some legacy AVI/OGM Code. - Additional features added after Base Patch: -- "Use CoreAudio instead of FAAC" preference is now only applied to the built in presets --- This change means that a custom preset specifying faac is now respected instead of it being overridden by the previously global preference. --- Xib description changed accordingly --- Note this means that previous custom presets that used faac will now use it instead of coreaudio. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3138 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: In preview only set the origin of the hud control panel for the ↵dynaflash2010-02-201-5/+6
| | | | | | | | preview window when setting the title, after that the origin will animate much smoother along with the window. - Avoids the nasty resetting of the hud controller when the preview window resizes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3128 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Preview replace a method that was hastily removed in 3125 when ↵dynaflash2010-02-194-7/+54
| | | | | | removing Full Screen. Fixes broken window scaling. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3126 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Removie Full Screen preview mode as its largely redundant when we ↵dynaflash2010-02-195-310/+28
| | | | | | have 100 percent full screen scaling in windowed mode. Removes a lot of code that is really not needed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3125 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Preview ... Allow the preview to use 100% of the the avaialable ↵dynaflash2010-02-191-13/+3
| | | | | | | | screen if it needs it. - Removes the 85% hard cap. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3124 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: A bit of pixel nudging in the Destination area of the main window ↵dynaflash2010-02-181-14/+14
| | | | | | | | ... patch from Rodeo - Moved "Destination" a bit higher up, "File:" a bit to the left, and made "Browse" Small instead of Mini git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3123 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Preview, use screens visibleFrame instead of frame to get better ↵dynaflash2010-02-181-11/+21
| | | | | | | | scale to screen effect and clear the dock, etc. - Some other code additions to troubleshoot initial window scaling where there shouldn't be any. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3122 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Preview fixes and changesdynaflash2010-02-182-73/+82
| | | | | | | | - Better scaling for windowed mode - Re postion hud control panel so top is at 50% window y axis - Other small enhancements git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3121 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix issue where switching modulus would not properly recalibrate the ↵dynaflash2010-02-121-0/+19
| | | | | | | | | exisiting pic size, only change the stepper increments. - Bug found and fix tested by BradleyS. - Do a dry run of hb_fix_aspect to reset dimensions as per the modulus before running through the rest of the settings. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3117 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix package default name types broken when batch scanning was ↵dynaflash2010-02-121-7/+5
| | | | | | | | introduced. - eg., .eyetv scans now produce a proper default output file name. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3116 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Queue edit rescan fix for multiple title sourcesdynaflash2010-02-121-2/+4
| | | | | | - Do not try to set the title popup to the original title number since its a single title rescan. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3115 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: uncomment line commented for testing for editing queue item modulus ↵dynaflash2010-02-111-1/+1
| | | | | | from commit 3113 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3114 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Adjustable picture modulus: Base patch by BradleyS, Thanks BradleyS!dynaflash2010-02-113-26/+49
| | | | | | | - Enables setting modulus for all anamorphic modes (including non-anamorphic) except strict. The job variable "anamorphic.modulus" is repurposed for this and is renamed to simply "modulus" - Other changes: Increases minimum output dimensions to 32x32 pixels in libhb (prevents possible crashes, notably in macgui). Better crop value and maximum crop value calculations to prevent crashes. Some code optimization / refactoring. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3113 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Preview Window resizing bug fixes. Patch from BradleyS.dynaflash2010-02-111-31/+33
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3112 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Get rid of % read out in constant quality mode. Now displays rf only.dynaflash2010-02-082-15/+10
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3104 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix issue where sources would round down 16 pixels from full width ↵dynaflash2010-02-051-6/+5
| | | | | | | | with some presets. - i.e. 720 width would come out at 704. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3096 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix issue with six channel discreet presets where no bitrate was ↵dynaflash2010-02-051-1/+9
| | | | | | chosen thereby borking the encode among other things. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3095 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add Video Buffer Verifier (VBV) to the built in AppleTV preset as ↵dynaflash2010-01-261-1/+1
| | | | | | | | | per test results using HD Plane Earth Birds clip for testing. - Settings: vbv-maxrate=9500:vbv-bufsize=9500 - Note, in testing vbv-maxrate=10000:vbv-bufsize=10000 worked when testing via sync, but dropping it a bit for safety in the preset. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3086 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Queue Edit uncomment remove reloaded queue item since "somehow" I ↵dynaflash2010-01-221-2/+2
| | | | | | missed it on the first go round. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3082 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Queued item editing initial implementation.dynaflash2010-01-217-340/+1347
| | | | | | | | | - Sends a chosen queued item back to the main window for reload ( and rescan ) via contextual menu (right click) - Deletes queued item from queue after being reloaded to main window ( after editing or whatever, send back to queue via Add To Queue Button same as a new source). - New queue window contextual menu also includes delete and show options previously only available via separate icons. - Note: Needs testing particularly in the subtitle area, which is not to say there aren't other bugs. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3080 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Raise the TextStorageUpperSizeLimit and TextStorageLowerSizeLimit x ↵dynaflash2010-01-131-2/+2
| | | | | | | | | 3 to accomodate larger logs in the activity window. Recommended by BradleyS and approved by me. - TextStorageUpperSizeLimit 125000 - TextStorageLowerSizeLimit 120000 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3069 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add the ability to send the finished encode to any application the ↵dynaflash2010-01-124-56/+236
| | | | | | | | | | user chooses instead of just "Send to MetaX". - Retains a checkbox to acivate sending the finished encode - Adds a file name textfield and a browse button so user can choose the app to send the finished encode to. - Defaults to MetaX as this would be the only app already existing in the users prefs. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3068 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove other errant subtitle log line for sub title tracks.dynaflash2010-01-121-2/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3067 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove errant subtitle track log mssg that was broken anyway.dynaflash2010-01-121-3/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3066 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix source duration display format when using time or frame based ↵dynaflash2010-01-041-2/+2
| | | | | | encoding. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3054 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Move destination widgets up to realign back to pre point a to b postion.dynaflash2009-12-291-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3052 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Re-arrange Source area to be all on one line instead of duration ↵dynaflash2009-12-291-37/+45
| | | | | | being on a second line under the Title NSPopUp. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3051 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Interface changes to allow pts or frame based point to point ↵dynaflash2009-12-234-671/+2086
| | | | | | encoding on top of our existing chapters based encoding. ... Based upon jstebbins most excellent work. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3042 b64f7644-9d1e-0410-96f1-a4d463321fa5