summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* libhb: make encoder options less x264-centric.Rodeo2014-02-133-69/+96
| | | | | | | | profile/level control and, to a lesser extent, encoder presets and tunes are becoming more common. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6031 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: change libhb.a to libhandbrake.ajstebbins2014-02-092-17/+17
| | | | | | | | | | | | On linux, there is a problem with some distros that dynamically link harfbuzz (libhb) to libass. The name conflicts with our libhb. So this changes the library name to resolve the conflict. It only changes libhb.a. It does not affect the windows libraries hb.lib and hb.dll git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6020 b64f7644-9d1e-0410-96f1-a4d463321fa5
* decavcodec: DRC support.Rodeo2014-01-254-12/+17
| | | | | | | Adds DRC support for E-AC-3 audio (as well as any future libavcodec decoders with DRC support). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5995 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fixy a crash when opening an external SRT file.Rodeo2014-01-191-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5985 b64f7644-9d1e-0410-96f1-a4d463321fa5
* remove contrib mpeg2decjstebbins2014-01-133-15/+0
| | | | | | | | We no longer need mpeg2dec. libav now has all the features we need for mpeg2 decoding. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5966 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove Anamorphic from Windows Phone preset since these devices don't ↵sr552013-12-211-1/+1
| | | | | | support it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5935 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Release the cached images when the preview window is closed.ritsuka2013-12-033-4/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5912 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: OSX, add osx10.9 xcconfig files to project.konablend2013-11-101-0/+4
| | | | | | | | This was missed in r5872 and is necessary for SDK selection from within Xcode IDE. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5893 b64f7644-9d1e-0410-96f1-a4d463321fa5
* OpenCL: use the new library loading architecture for all OpenCL code.Rodeo2013-11-082-10/+0
| | | | | | | | | | | An OpenCL SDK is no longer needed to build OpenCL support. Note: as a result, the --enable-opencl configure option is removed. Also, libOpenCL is no longer needed to run the application (it is still necessary to use OpenCL features, of course). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5886 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: update to the new preset getter API.Rodeo2013-11-081-8/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5884 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Denoise (hqdn3d) syntax change: accept settings for individual chroma channels.Rodeo2013-11-081-6/+6
| | | | | | | Patch by BradleyS. Thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5880 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: validate the toolbars items after a scan. This used to be done but ↵ritsuka2013-11-051-1/+2
| | | | | | got lost somewhere along the way. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5877 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Refactor HBPreviewController. Rename the actual class to ↵ritsuka2013-11-049-2664/+2270
| | | | | | HBPreviewController, and move the image and video creation code to a separate HBPreviewGenerator class. Update the preview duration list as Rodeo suggested. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5874 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: fixed OutputPanel.xib warnings.ritsuka2013-11-031-239/+260
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5873 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix a52dec and mpeg2dec duplicate symbols w/ OSX 10.9 SDKkonablend2013-11-023-0/+8
| | | | | | | | | - disable AC_C_ALWAYS_INLINE for a52dec (patch activates on darwin only) - disable AC_C_ALWAYS_INLINE for mpeg2dec (patch activates on darwin only) - enable mpeg2dec autoreconf (darwin only) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5872 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: refactor PictureController. kill a bit of dead code (~500 lines), ↵ritsuka2013-11-027-3136/+2206
| | | | | | switch some ivars to properties, hide the private methods and rework the deinterlace logic. Plus UI alignment. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5869 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Varius warnings fixes:ritsuka2013-10-2512-292/+301
| | | | | | | | | | - NSUInteger and NSInteger instead of int (where the Cocoa 64bit api uses them). - Cast to int when needed because NSInteger on 64bit is defined as long. - NSURL instead of NSString when possible. - Replaced some deprecated methods/functions. - numberWithInteger instead of numberWithInt. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5854 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: fixed a number of leaks/null-deferences/dead-code found by clang ↵ritsuka2013-10-1514-214/+210
| | | | | | static analyzer. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5838 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: fix Xcode when building w/ clang targeting 10.6konablend2013-10-011-0/+1
| | | | | | | | | | | | | | | | When using clang (the new project default compiler), disable implicit objc-runtime linking for 10.6 only. Before fix, the following error is produced: Undefined symbols for architecture x86_64: "_objc_retain", referenced from: ___ARCLite__load in libarclite_macosx.a(arclite.o) (maybe you meant: _objc_retainedObject) ld: symbol(s) not found for architecture x86_64 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5819 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Replace deprecated NSWorkspace API calls. Patch by Alexander Zautke.ritsuka2013-09-281-26/+27
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5817 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: initial Xcode5 supportkonablend2013-09-248-22/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested on MacOSX 10.8.5 w/ Xcode 5.0, 4.6.3 and 4.5.2, various builds, including terminal Xcode, terminal no Xcode and Xcode IDE, and permutations with/without mp4v2 and mkv. - push defs for optional static libraries (OSL) to respective modules - adjust make-driven linking to use OSL - adjust Xcode-driven linking to use OSL via ld -filelist option - add Xcode project group for all OSL - set Xcode project to use clang compiler - add osx 10.8 xcconfig files - add "supplemental" xcconfig file where EXTERNAL_CONFIGURE may be used to specify configure-time options - patch mp4v2 to compile with clang Intructions for custom configure-options within Xcode IDE: 1. edit macosx/xcconfig/supplemental.xcconfig 2. save file (unsure how long it takes IDE to see change but it does) 3. build clean 4. build 5. never commit supplemental.xcconfig to repository - it is meant to exist but not effect the build on a clean checkout, and to be used only as a developer transient developer customization file. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5800 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Merging-in the OpenCL Scaling code from the OpenCL branch to trunk. sr552013-09-212-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | Patch originally by the Multicoreware Inc team, followed by improvements and fixes by Micheal Wootton from AMD Inc, OpenCL: This patch implements Bicubic Scaling in OpenCL. Note that HandBrake currently uses Lanczos so the performance difference appears to be much more significant. We may offer an option of BiCubic in software later. Bicubic scaling may appear a bit sharper than the equivalent Lanczos encode and may increase file size a bit. Quality may be better or worse depending on the scaling and content and personal preference towards sharpness. When comparing performance with a custom HandBrake build that runs Software Bicubic to OpenCL Bicubic, performance increase is about 5~7% on average on a modern GPU. Hardware Decode via DXVA: We also have optional DXVA decoding which may come in useful for slower/lower end systems that have a capable GPU. This is only available on input sources that use the libav decode path. Most GPU hardware for decoding is designed for playback, so if you are running on a high end CPU, it will bottleneck the encode process. Requires OpenCL 1.1 or later supporting GPU. Front end changes and testing framework are not included in this patch. This will be resolved later. Patch will be revised further before the UI is implemented. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5792 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix compil<tion with clang.Rodeo2013-09-201-1/+1
| | | | | | | Implementing a protocol is not enough, we need to actually tell the compiler that we are doing it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5788 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use FSEvent api to create a FSEventStream to keep track of when a ↵ritsuka2013-08-192-28/+105
| | | | | | | | file inside the Queue folder is update. Move Queue.plist inside a folder because FSEvent can only track changes at folder level, so we have a folder with just a file inside. Whenever something happens inside the Queue folder, HandBrake reload Queue.plist. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5720 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: calculate the actual height of the queue rows. Align the interface ↵ritsuka2013-08-182-1308/+318
| | | | | | elements a bit. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5711 b64f7644-9d1e-0410-96f1-a4d463321fa5
* 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