summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: split HBTitle header to make it easier to test. Added some simple tests.ritsuka2015-06-0113-27/+310
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7256 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: do not try to create a NSURL if the path if empty. Encode the right ↵ritsuka2015-06-012-2/+6
| | | | | | type for the deblock filter. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7255 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix a couple of memory leaksjstebbins2015-06-012-0/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7254 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Use the new libhb preset management code to fetch built-in presets ↵sr552015-05-316-1865/+171
| | | | | | on startup. Note, the preset update notice is now gone so anyone hacking the preset dat files will not be notified when it gets overwritten now. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7252 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove a useless cast for the deblock value.ritsuka2015-05-314-5/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7251 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix custom denoise settings.ritsuka2015-05-311-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7250 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: cast the value of UsesPictureFilters to bool so the dictionary will ↵ritsuka2015-05-301-1/+1
| | | | | | use a bool to represent it internally, and hb_presets_clean_json() won't complain. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7246 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix the leaks after using hb_presets_import_json and ↵ritsuka2015-05-306-18/+72
| | | | | | hb_presets_clean_json, add an extension to NSJSONSerialization to convert a char * directly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7245 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add nullability annotations to the headers and use weak where is ↵ritsuka2015-05-3035-48/+125
| | | | | | possible. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7244 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: don't hardcode which encoders support the preset system.Rodeo2015-05-295-12/+25
| | | | | | | Just ask libhb instead. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7243 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix setting "autoscale" widget value from presetjstebbins2015-05-291-2/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7242 b64f7644-9d1e-0410-96f1-a4d463321fa5
* preset: fix application of VideoScaler to jobjstebbins2015-05-291-1/+1
| | | | | | | Broken strcasecmp conditional caused OpenCl to be added to the job when it should not have been and *not* added to the job when it should. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7241 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix issues with video optionsjstebbins2015-05-283-0/+41
| | | | | | | | | | Fixes: https://forum.handbrake.fr/viewtopic.php?f=10&t=32535&sid=321e6d1092fd09c8d380e13e86d1a9ee - Sanitize empty video encoder settings strings to NULL. - In the CLI, use encoder defaults if user changes the preset's video encoder. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7237 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: simplify some video widget dependency handlingjstebbins2015-05-283-10/+14
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7236 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: disable level widget when no levels returned by libhbjstebbins2015-05-282-3/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7233 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix build error on ubuntujstebbins2015-05-281-3/+3
| | | | | | | For some reason, fedora has "bool" type defined where ubuntu does not. Use gboolean. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7232 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libbluray: bump to version 0.8.1jstebbins2015-05-271-1/+1
| | | | | | Fixes a minor memory leak in libudfread git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7231 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use libhb to initialize job...jstebbins2015-05-2717-1198/+923
| | | | | | | ...and set some job settings as values change in the UI. This eliminates a large chunk of job setup code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7230 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Change audio track behaviours default to None so current presets are ↵sr552015-05-261-1/+1
| | | | | | not affected. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7229 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Adding new dropdown to the Configure Audio Options. The new "Track ↵sr552015-05-268-17/+214
| | | | | | | | | | Setting Default Behaviour" allows the choice of what settings are used for automatically added tracks. 1. All Preset tracks are cloned for each of the added languages tracks. 2. The first preset track is cloned for each of the added languages tracks. 3. Default 160kbit DPL2 AAC audio track for each of the added languages tracks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7228 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: - Some updates to the libhb preset wrapper code. - Remove Preset ↵sr552015-05-2610-47/+404
| | | | | | update notification and option. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7227 b64f7644-9d1e-0410-96f1-a4d463321fa5
* scan: skip scan if title has already been scannedjstebbins2015-05-264-4/+36
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7226 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix vorbis encodingjstebbins2015-05-251-1/+1
| | | | | | | Was broken when we switched to using EOF flag instead of 0 length buffer. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7223 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: fix display of fps in title summaryjstebbins2015-05-241-1/+1
| | | | | | | Fixes https://forum.handbrake.fr/viewtopic.php?f=12&t=32507 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7220 b64f7644-9d1e-0410-96f1-a4d463321fa5
* preset: fix application of mp4 mux optionsjstebbins2015-05-241-1/+1
| | | | | | | Fixes https://forum.handbrake.fr/viewtopic.php?f=10&t=32445&p=151040#p151008 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7219 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix queue reading on 10.7.ritsuka2015-05-231-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7218 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove a workaround for a bug in 10.6.ritsuka2015-05-211-7/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7217 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: set the deployment target to 10.7.ritsuka2015-05-215-6/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7216 b64f7644-9d1e-0410-96f1-a4d463321fa5
* x265: bump to version 1.7jstebbins2015-05-212-50/+1
| | | | | | | Eliminates the need for our cleanup patch. Various bug fixes and improvements. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7215 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add a test target to the Xcode project, plus some simple test. Use a ↵ritsuka2015-05-2012-2/+368
| | | | | | forward declaration instead of a #import to in HBJob to allow testing to work. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7214 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use libhb to init audio and subtitle listsjstebbins2015-05-2014-525/+318
| | | | | | | This eliminates a lot of essentially duplicate code in LinGui for initializing these lists. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7213 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: assume remix support when input layout is not set.Rodeo2015-05-191-0/+8
| | | | | | | | Allows querying an encoder's default mixdown from places where the input channel layout is unavailable (e.g. audio defaults panel). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7212 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: refactor subtitle panejstebbins2015-05-198-514/+582
| | | | | | | | | | | | Store subtitle track info in json job compatible format. Copy directly into job when adding new job. Also, removed "Foreign audio search" from the subtitle track dropdown and made an explicit "Foreign audio search" toolbar button. This makes it easy to enforce only one such track in the list and gives me a place to put a better tooltip explaining FAS. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7211 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: better samplerate validation.Rodeo2015-05-192-18/+78
| | | | | | | | | | | Not all encoders support all samplerate, so we filter the list based on the encoder and validate the selected samplerate when switching encoders. Also improve bitrate validation a bit. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7210 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: more audio refactoringjstebbins2015-05-184-373/+196
| | | | | | | Since the audio list is now in the proper format for json job, simply copy the audio list when creating the job. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7209 b64f7644-9d1e-0410-96f1-a4d463321fa5
* dict: make hb_value_get_json param constjstebbins2015-05-182-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7208 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: General tidy up and remove the custom styling for the app. The app ↵sr552015-05-1722-406/+31
| | | | | | will now always honour the system defaults. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7207 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add more tooltips. All the tooltips in ↵ritsuka2015-05-177-78/+91
| | | | | | https://reviews.handbrake.fr/r/60/ minus the ones for the labels. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7206 b64f7644-9d1e-0410-96f1-a4d463321fa5
* preset_template: allow all supported passthru codecs by default.Rodeo2015-05-174-10/+22
| | | | | | | | That way, very old presets and (more importantly) built-in presets do not force a restricted copy mask on the user. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7205 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: I would commit seppuku, but I am no samurai.Rodeo2015-05-171-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7204 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: make libFDK the default (HE-)AAC encoder.Rodeo2015-05-171-1/+1
| | | | | | | | | | It's almost as fast as libavcodec's native encoder and offers much better audio quality at any bitrate. Under OS X, Apple's encoder is still used by default. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7203 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: make a copy of a preset before showing the export window.ritsuka2015-05-174-8/+20
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7202 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: don't forget the fastdecode checkbox when printing the job's queue ↵Rodeo2015-05-171-2/+17
| | | | | | description. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7201 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove workaround for the case where the output samplerate is auto ↵Rodeo2015-05-161-15/+2
| | | | | | | | | and the input samplerate is not known. libhb now handles it for us. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7200 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: return the global bitrate limits for a given mixdown when the ↵Rodeo2015-05-161-0/+14
| | | | | | samplerate is not known. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7199 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Update the libhb preset stubs.sr552015-05-169-137/+301
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7198 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: forgot one :(Rodeo2015-05-161-2/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7197 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: don't double-sanitize encoder names.Rodeo2015-05-162-3/+2
| | | | | | | | | *_get_from_name is where the encoder gets sanitized, *_sanitize_name is only required when you need the encoder name instead of its value. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7196 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: reset allowed passthru codecs when applying a preset.Rodeo2015-05-161-1/+12
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7195 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: don't hardcode encoder names.Rodeo2015-05-161-38/+39
| | | | | | | | | However unlikely, the names for the passthru encoders could change, and this new code won't need to be updated should that happen. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7194 b64f7644-9d1e-0410-96f1-a4d463321fa5