summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: Allow trellis and psy-trellis with cavlc since as of svn 3492 its ↵dynaflash2010-08-251-41/+3
| | | | | | | | now possible in x264. - Patch by Rodeo. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3493 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix issue where multi instance was improperly detecting the number ↵dynaflash2010-08-201-2/+1
| | | | | | | | of instances. - Fixes an issue where the second instance would ignore the first instances queue and resetting running encodes back to pending. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3484 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Encode status readout now two lines, first line is the name of the ↵dynaflash2010-08-193-67/+62
| | | | | | file being encoded and second line is the progress. Changed both for main window and queue window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3483 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix dock icon behaviordynaflash2010-08-161-5/+2
| | | | | | | | - patch by KonaB1end ... Thanks! - Fixes issue where minimized main window would not unminiaturize when the dock icon is clicked. - Fixes same issue with a closed main window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3480 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove logging line used for debugging previous commit.dynaflash2010-08-061-3/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3473 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Store live previews in a sub directory in "~/Library/Application ↵dynaflash2010-08-063-13/+52
| | | | | | | | | | Support/HandBrake/Previews" named by pidnum. - Allows multi-instances to encode live previews without overwriting the live preview for any other instance (since previously we assumed single instance so there was just one live preview file for each container. - Clean up of the previews directory when a single instance is laucnhed to make sure we do not build up a pile of old previews. - Removed old code for live previews which handled the deprecated avi and ogm containers. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3472 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Disable preview hud controls during new source scans.dynaflash2010-08-055-5/+44
| | | | | | | - Fixes a crash where trying to get a preview image when a new source is being loaded will cause a crash - Mirrors enableUI in the main window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3471 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Do not call pictureSliderChanged in windowWillClose in ↵dynaflash2010-08-051-1/+0
| | | | | | | | HBPreviewController.m as it causes a crash when quitting the macgui without a source loaded up. - Thanks Sean_McG for spotting the bug! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3470 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add separate method for cancelling a Live Preview encode.dynaflash2010-08-043-20/+403
| | | | | | - Also replace deprecated removeFileAtPath:handler: with removeItemAtPath:error: in HBPreviewController git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3469 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Re-locate logic for encode done notifications as per user preferences.dynaflash2010-08-031-22/+20
| | | | | | | - Fixes an issue where a system beep would occur after every encode when Alert Window was chosen. - Also means less calls to showGrowlDoneNotification as we were calling it after every encode and then checking the user prefs instead of checking prefs before calling it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3468 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove unused method declaration.dynaflash2010-08-021-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3467 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Rework how we get encode and queue done alerts.dynaflash2010-07-263-89/+254
| | | | | | | | | - Add separate checkbox for system alert sound in Preferences > General > When Done (previously it was automatic only when "When Done" included the alert panel") - System alert sound will play whenever the specified Alert When Done event occurs if its checked (this includes the Growl alerts which come up as encodes roll off of the queue) which addresses the sound part of this forum thread http://forum.handbrake.fr/viewtopic.php?f=22&t=17347#p80456. Thanks to BradleyS for the suggestion. - Also fix an issue introduced in the multi instance queue commmit (ref 3450) where the Alert Window would come up one encode too early instead of at the end of the queue if you use the alert window for when queue is completed. This addresses forum thread http://forum.handbrake.fr/viewtopic.php?f=12&t=17367 thanks to noved for picking up on it. - Get rid of a touch of commented code from rev 3450 which is worthless. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3461 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui:sr552010-07-221-29/+57
| | | | | | - Re-checking 3453 after accidentally removing it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3458 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Reverting 3452sr552010-07-221-57/+29
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3454 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix issue where queue was being reloaded showing already completed ↵dynaflash2010-07-221-29/+57
| | | | | | encodes at launch. Borked in svn rev 3443. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3453 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix how we get the current instances pid number since ↵dynaflash2010-07-194-15/+39
| | | | | | | | | | NSRunningApplication is a 10.6 only api and therefore breaks 10.5 compatibility (which also borked the nightly build). - Many thanks to ritsuka for pointing this out. - Also adds ability to get the full path to each running instance if we need it in the future. - Note: Adds additional logging to hbInstances which can be removed when we see fit. But for now imho could be useful since we are early in multi-instance queue encoding. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3450 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Initial implementation of new queue sync code which allows ↵dynaflash2010-07-175-138/+365
| | | | | | | | | | | | | | | | | | multi-instance encoding. This allows more than one instances of HandBrake.app to run off of the same queue file. In the case of multi-instance use these changes occur in the queue window: - The delete icon for a given queue item does not exist in the queue window if another instance is doing the encoding. - The encoding icon does not spin if another instance is doing the encoding. - As before if the queue window is for the instance doing the encoding on that item it will be animated and "spins". - The queue window status readout now also includes the output file name for the file being encoded for that instance. Known bugs: - Drag and Drop queue reordering is somwehat borked. Doesn't corrupt queue but can not allow a drop in some instances. - I have tested this over 20 multi instance encodes and not once had an issue, but anytime more than one instance is writing to the same external file anything can happen. Beware! - The session activity log will of course be full of activity log info from all instances in a multi instance scenario. Individual encode logs are unaffected. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3443 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Make .m4v (Use iTunes Friendly Naming) default in preferences.dynaflash2010-07-071-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3429 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix some preset issuesjstebbins2010-07-031-25/+17
| | | | | | | | | | | add b-pyramid=none to appletv presets and remove b-pyramid hack from encx264.c change samplerate from 48 to 'Auto' in all presets cap samplerate to 48khz since none of the encoders support higher rates remove obsolete UsesMaxPictureSettings from all presets. replace with UsesPictureSettings=2 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3424 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Presets - Add abliity to modify width and height on a preset ↵dynaflash2010-06-283-25/+1429
| | | | | | | | | | | independent of the currently loaded settings via repurposing the old "Current" picture size setting in the add new preset dialogue. - Changes "Current" to "Custom". - When Custom is selected two text fields for width and height appear, initially populated with the current picture settings which means that if not changed will behave as old "Current" settings used to. - Editable fields means the preset can be save to pic dimensions other than what is setup for the current encode setup. - For example you can have a dvd loaded up and then save a preset using say 1280 x 720 as max dims, even though the currently loaded source would not have allowed that before. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3419 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix uninteded side effect of code that enforces maxWidth/Height when ↵jstebbins2010-06-271-0/+2
| | | | | | | | | | loading anamorphic preset PictureControler relies on job->maxWidth and job->maxHeight being 0. These should only be set when the preset is initailly loaded and the presets values are initialized. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3415 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: apply maxHeight in non-anamorphic jstebbins2010-06-261-2/+22
| | | | | | | | | in anamorphic mode, apply maxWidth&maxHeight and adjust dimensions with hb_set_anamorphic_size. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3413 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Allow mono audio mixdown for LAMEdynaflash2010-06-211-17/+10
| | | | | | - Patch by Rodeo. Thanks Rodeo ! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3402 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Adds a built-in iPad preset with a max width of 1024, peak fps of ↵jbrjake2010-06-192-0/+101
| | | | | | 29.97, and, at least for now, default x264 options. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3393 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Advanced x264 panel overhaul. - Updates labelingjbrjake2010-06-183-983/+929
| | | | | | | | | | | | | | | | | | | | | - Updates tooltips - Rearranges layout to group options by encoding features, analysis options, and psychovisual options - Adds weightp checkbox - Adds adaptive quantization slider going from 0 - 2.0 - Removes mixed-refs switch - Removes weightb switch - Removes no-fast-pskip switch - Removes spurious 0 value for reference frames, clamps values to 1-16 - Converts b-pyramid from a checkbox to a menu to allow strict, makes normal instead of off the default - Defaults b-pyramid to being on, removes it from string when it's on, and converts text values of strict or normal to a checked box since we're not offering strict. - Makes psy-rd slider go to 2.0 - Changes analyse some (default) to most, add new some (i4x4,i8x8) - Makes psy-trellis go in 0.05 increments instead of 0.1 increments. - Stops hiding 8x8dct when analyse is none (thanks, Rodeo) - Fixes animated reset of psy-rd and psy-trellis sliders when hidden (thanks, Rodeo) - Hides psy-trellis when cabac goes off (thanks, Rodeo) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3392 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Peak Framerate initial implementationdynaflash2010-06-184-31/+111
| | | | | | | | - Adds a checkbox below the fps drop down to allow selecting pfr as long as Same as Source is not selected. - Checkbox is shows and hides based on the fps dropdown. - Uses job->cfr = 2 instead of 1 to enable libhb's pfr mode. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3390 b64f7644-9d1e-0410-96f1-a4d463321fa5
* 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