summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: simplify queue display code.Rodeo2013-04-123-197/+64
| | | | | | | | | | | | | Add detailed summaries to the queue item dictionary and use them in HBQueueController. This helps remove a lot of duplicate logic. Uses existing methods pictureSettingsSummary, pictureFiltersSummary and new muxerOptionsSummary. Also add a few height rows for long lines that often wrap to a second row. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5398 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: main and queue window improvements.Rodeo2013-04-123-193/+182
| | | | | | | | | | | | | | | | Merge fPictureSizeField and fPictureCroppingField into fPictureSettingsField (fits on a single line). Rename fVideoFiltersField to fPictureFiltersField. Move the two text fields closer to each other now that there is more room. Also align their contents using tabs. This should look better overall. Add pictureSettingsSummary and pictureFiltersSummary to generate the text summaries used in the fields above. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5395 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: don't mention grayscale twice in the queue display.Rodeo2013-04-121-5/+0
| | | | | | | | Since it's mentioned in the filter summary, we don't need to repeat it in the picture summary. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5394 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: rename a variable.Rodeo2013-04-123-18/+18
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5393 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix loading preset which specify an advanced options string (rather ↵Rodeo2013-04-121-70/+87
| | | | | | | | | | | | than using the x264 preset system). Also miscellaneous cleanup and improvement. The issue was introduced in SVN revision 5388. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5392 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: widen the preview window's HUD display by 10 pixels.Rodeo2013-04-101-7/+7
| | | | | | | | The info string "Source: 1920x1080, Output: 1920x1080, Anamorphic: 1920x1080 Custom" was being wrapped. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5391 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: when switching from the x264 system to the advanced panel, populate ↵Rodeo2013-04-091-11/+17
| | | | | | | | | | | | the advanced panel's options string with the unparsed x264 system options. Also, don't reset the x264 system widgets, so that the x264 system settings are not lost when switching back. When loading a preset whic uses the advanced panel, do reset the x264 system widgets, however. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5388 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix a bug when saving a preset, the x264 system is used but the ↵Rodeo2013-04-091-2/+9
| | | | | | unparsed string is empty (all defaults). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5387 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix an issue where the advanced panel's widgets were not being ↵Rodeo2013-04-071-0/+3
| | | | | | populated in time, if the default preset used the x264 system. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5385 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Fix a crash that happens when the Preview window backingScaleFactor ↵ritsuka2013-03-191-1/+2
| | | | | | changes but the title is not set. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5344 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: PictureComntroller reloadStillPreview, remove code that does nothing.Rodeo2013-03-181-6/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5343 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Update the in-app icons to the new graphicssr552013-03-1846-83/+131
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5342 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix crash in PictureController.Rodeo2013-03-181-13/+18
| | | | | | | | For some reason, it only crashed in debug builds, but de-referencing fTitle before it's been set (e.g. indirectly from awakeFromNib) is obviously wrong. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5341 b64f7644-9d1e-0410-96f1-a4d463321fa5
* hb_system_sleep: refactoring.Rodeo2013-03-182-12/+12
| | | | | | | | | | | | Also: - release power assertions before freeing them - actually free the power assertions in hb_close() (previously unused) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5340 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: improve hb_system_sleep support.Rodeo2013-03-182-26/+53
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5338 b64f7644-9d1e-0410-96f1-a4d463321fa5
* hb_system_sleep: allow/prevent sleep from the UI rather than libhb.Rodeo2013-03-181-0/+3
| | | | | | | | | | The code that sets/unsets the "power assertions" is still in libhb. Patch by Jérôme Lacube. Thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5336 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix external SRT subtitles after last commit.Rodeo2013-03-131-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5326 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: forbid including passthru PGS subtitle streams in MP4.Rodeo2013-03-122-78/+195
| | | | | | | | | | | | When adding a PGS track and the container is MP4, the track is automatically set to burned-in. When adding an additional PGS track and the container is MP4, the track is removed and an alert dialog is displayed. When switching from MKV to MP4, the first PGS track is converted to burned-in (any non-PGS track that was set to burned-in is reset to passthru) and additional tracks are removed; an alert dialog is also displayed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5325 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: only show the global default preset in bold.Rodeo2013-03-041-3/+3
| | | | | | | | Previously, if there were 2 default presets (HB and user), both names would be displayed in bold. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5305 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add default Auto Passthru settings to all presets.Rodeo2013-03-041-82/+71
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5302 b64f7644-9d1e-0410-96f1-a4d463321fa5
* 2013 preset changes:Rodeo2013-03-042-915/+960
| | | | | | | | | | | | - updated descriptions (all presets) - add maximum height (device presets) - harmonize PFR framerates (29.97 to 30 fps) - move qpmin hack from encx264 to the AppleTV preset - Android preset: switch to level 3.0 (720x576 @ Level 2.2 meant 12.5 fps max.) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5299 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add a TODO.Rodeo2013-03-041-0/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5298 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add optional fdk-aac encoderjstebbins2013-03-031-0/+6
| | | | | | | configure --enable-fdk-aac to enable this encoder git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5287 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI, MacGui: cosmetics.Rodeo2013-03-011-11/+22
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5277 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Improve scan progress granularityjstebbins2013-03-011-11/+30
| | | | | | | | We were only updating progress after completely processing each title. Now progress is updated as we generate previews as well. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5276 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: open the URL to a specific, known version of libdvdcss.Rodeo2013-02-271-1/+1
| | | | | | | | Latest version may not have a macosx/ subdirectory or even a .pkg installer. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5274 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Raise the maximum allowable previews from 30 to 60 in 5 preview ↵dynaflash2013-02-201-22/+166
| | | | | | increments. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5259 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Live Preview extend the live preview maximum duration to 240 seconds ↵dynaflash2013-02-191-0/+8
| | | | | | | | ( 4 min.) from the previous 120 seconds ( 2 minutes). - Uses 15 second incremements as previous. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5258 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Audio dithering.Rodeo2013-02-051-0/+2
| | | | | | | | | | | | Works with encoders that accept 16-bit signed integers as input (currently, only ffflac). When supported, the default method is standard triangular. CLI users can request a specific dither algorithm via the --adither option. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5241 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: re enable deinterlaced still preview images when deinterlace is ↵dynaflash2013-02-043-18/+40
| | | | | | | | | | selected. - Also add a deinterlaced preview still image when decomb is selected as libhb does not notice decomb for still previews. Do a quick shell game when decomb is selected only to grab a deinterlaced preview. - As a side note, remove some extremely vestigial code from controller.m as far as a min preview size. - fwiw, lingui already apparently does this. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5239 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: add a missing else statement. Don't pass key event down the response ↵ritsuka2013-02-041-3/+4
| | | | | | chain after we handled it it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5237 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: make the control box in preview window 10 px larger to avoid ↵ritsuka2013-02-012-30/+38
| | | | | | splitting text on two lines, and expand the keyboard control to the still images. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5232 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Reworked a bit of HBPreviewController, the main differences are:ritsuka2013-02-018-1727/+1759
| | | | | | | | | | | | | - CALayer instead of NSImageView, we don't need to center the layer manually, plus a lot of free animations. - Reworked the scale to screen code, now it resize the window to the max size and then resize the picture layer, a bit simpler then before but the previous code had a weird issue were the window increased in size each time the slider changed until the control box was outside the window. - Fixed an issue where the preview window would be unusable if it was closed while it was encoding a preview. - Added a fEncodeState int to keep track of the encoding status like in HBController. - Removed some unused code and variables. - The preview images are no longer 4px smaller than the said size. - Added some nice image to the player controller. - keyboard controls for the movie player. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5230 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Fix build on 10.6sdk.ritsuka2013-01-311-0/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5228 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: make the preview window HiDPI aware, so that the preview images will ↵ritsuka2013-01-302-16/+45
| | | | | | be shown with the same pixel count on Retina and non Retina screens (instead of 2x on Retina). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5226 b64f7644-9d1e-0410-96f1-a4d463321fa5
* x264 preset system: miscellaneous improvements.Rodeo2013-01-302-23/+20
| | | | | | | | See https://reviews.handbrake.fr/r/421/ for details. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5225 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove extra space in encoding status line string for 1 pass encodes.dynaflash2013-01-281-1/+9
| | | | | | | - Patch by sanmarcos Thanks! - Addresses https://reviews.handbrake.fr/r/422/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5215 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add missing tooltips . Align and fix issues.dynaflash2013-01-273-286/+422
| | | | | | | - Patch by sanmarcos … Thanks! - Detail addressed here https://reviews.handbrake.fr/reviewboard.fcgi/r/423/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5214 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix a null placeholder upon launch in the x264 unparse string.dynaflash2013-01-271-3/+10
| | | | | | | - Patch by sanmarcos Thanks! - Explained here https://reviews.handbrake.fr/r/426/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5213 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Only show the warning about copy proteciton once.sr552013-01-271-52/+13
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5210 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove the deprecated VLC DYLD codesr552013-01-271-76/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5209 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: sync built-in presets with the other UIs.Rodeo2013-01-263-514/+227
| | | | | | | | Also make handling of max width/height more robust. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5207 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: cosmetics: re-indent.Rodeo2013-01-231-5/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5198 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacUI: Fix crash caused by double free of advanced_optsjstebbins2013-01-231-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5197 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: retain the current storage width and height and use it when ↵Rodeo2013-01-162-6/+17
| | | | | | | | | | unparsing the x264 options. This is done in calculatePictureSizing as it is called whenever width or height change. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5175 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: free(NULL) is perfectly safe.Rodeo2013-01-061-10/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5165 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fAudioFallbackPopUp should be an NSPopUpButton.Rodeo2013-01-061-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5164 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fX264MediumPresetIndex is an index, not a pointer.Rodeo2013-01-061-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5163 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix queue editing after adding the x264 preset system.Rodeo2013-01-031-5/+24
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5137 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: cosmetics.Rodeo2013-01-031-6/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5136 b64f7644-9d1e-0410-96f1-a4d463321fa5