summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: Read events from the mouse scroll wheel in HBPreviewController.m to ↵ritsuka2013-08-041-0/+17
| | | | | | change the preview image. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5690 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix UI lockup when adding a chapter with a name containing non-UTF8 ↵Rodeo2013-07-221-1/+2
| | | | | | characters. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5657 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add hb_video_quality_get_limits and hb_video_quality_get_name to libhb API.Rodeo2013-07-131-51/+74
| | | | | | | | Includes a MacGui implementation. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5647 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: populate the SRT subtitle language list dynamically from libhb.Rodeo2013-07-131-187/+13
| | | | | | | | Adds several languages that were previously missing from the list. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5645 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: improve previous commit a bit.Rodeo2013-07-011-2/+13
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5631 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix a silly Logic bug in logging code.sr552013-07-011-6/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5630 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: add experimental avformat muxer for mkv and mp4jstebbins2013-06-303-15/+12
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5620 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: get rid of now obsolete @"UseCoreAudio" preference and related widgetsRodeo2013-06-203-223/+134
| | | | | | | | MacGui doesn't include faac anymore. Mapping from faac to Core Audio is done by libhb's fallback mechanism. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5594 b64f7644-9d1e-0410-96f1-a4d463321fa5
* improve aac encoder build options and change some aac encoder defaultsjstebbins2013-06-152-7/+6
| | | | | | | | | | By default, faac is no longer built. Libav aac is now the default aac encoder on all platforms except osx where ca_aac is the default. fdk-aac is now built by default (except on osx). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5581 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Experimental preset for Windows Phone 8 Devices. Would be appreciated that ↵sr552013-06-081-0/+105
| | | | | | anyone with a W8 Phone provides feedback. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5573 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb/common: improve fallback mechanism.Rodeo2013-06-033-5/+6
| | | | | | | | | | | | | | | | | | | | API changes: - added hb_global_init(), must be called before any other libhb function - removed (somewhat pointless) hb_mixdown_t.internal_name - some hb_*_get_from_name() functions now return 0 instead of -1. Instead of hardcoded fallbacks, list items now have a specific fallback, and a generic ID for when the specific fallback is unavailable. Encoder availability is checked at runtime (hb_global_init calling hb_common_global_init) and the item's value/fallback is sanity-checked and updated if necessary. See https://reviews.handbrake.fr/r/506/ for more detailed information. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5547 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Patch -Replace some deprecated API Calls ↵sr552013-06-012-40/+44
| | | | | | https://reviews.handbrake.fr/r/504/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5543 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Don't expose rate, mixdown, dither and encoder arrays to the UIs.Rodeo2013-05-305-288/+276
| | | | | | | | | | | | | | | | | | | | - instead, make these lists available through enumerators: --> hb_*_get_next(<type> *last); - this should give us more flexibility to populate the lists at runtime, using the implementation(s) of our choice, whether they use arrays or not, without requiring UI modifications - use consistent naming for getters --> hb_get_best_foo() becomes hb_foo_get_best(), and so on - hb_*_get_from_name() and hb_*_ sanitize_name() sanitize the requested value to a supported one if it's unavailable - adds an additional, passthru-specific fallback mechanism - adds a list of video containers git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5526 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Make initialization of vfr filter work as I intended.jstebbins2013-05-281-10/+14
| | | | | | | Also fix signalling of framerate in output file when PFR is used. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5522 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: stop before the last ("None") subtitle track when converting ↵Rodeo2013-05-121-3/+5
| | | | | | | | | | | | incompatible tracks to burn-in. We were calling [[tempObject objectForKey:@"subtitleSourceTrackType"] intValue], so for "None", [nil intValue], which was returning 0. As it turns out, VOBSUB == 0 thus hb_subtitle_can_pass() was true out of sheer luck. In a case where e.g. hb_subtitle_can_pass(VOBSUB, mux) is false (such as with the upcoming HB_MUX_AV_MP4 muxer), the None track would actually be deleted! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5453 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix a bug where the iPod 5G checkbox would be disabled for x264 in MP4.Rodeo2013-05-121-16/+13
| | | | | | | | | | This would happen when switching from MKV with a Theora encoder to MP4: the encoder would be reset to x264, but we failed to detect the change of encoder and therefore didn't call videoEncoderPopUpChanged. Also, don't needlessly call twoPassCheckboxChanged after videoEncoderPopUpChanged since the latter calls the former. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5452 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: refactor handling on chapter titles.Rodeo2013-05-113-60/+49
| | | | | | | | job->list_chapters is reset by any call to hb_job_reset(), so store chapter titles in an NSArray instead. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5451 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: harmonize audio configuration code in prepareJob and prepareAudioForJob.Rodeo2013-04-282-37/+41
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5422 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: bugfix: set video framerate mode (vfr, pfr, cfr) when editing queue ↵Rodeo2013-04-281-15/+29
| | | | | | items. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5416 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Bump year to 2013sr552013-04-211-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5404 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Bump the Growl SDK to 2.0.1 bringing notification centre support for ↵sr552013-04-207-906/+189
| | | | | | those not running the growl application. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5402 b64f7644-9d1e-0410-96f1-a4d463321fa5
* 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