summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* WinGui: Add new preset keys for the Audio and Subtitle default behaviours. ↵sr552014-08-106-25/+98
| | | | | | Updated existing preset parser to work with the current version of the plist preset format. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6283 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fixed some audio presets key: AudioSamplerate -> string, ↵ritsuka2014-08-102-6/+20
| | | | | | AudioTrackDRCSlider -> float. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6282 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: removed the “Show Presets Drawer” preference. The state of the ↵ritsuka2014-08-102-14/+12
| | | | | | drawer is now saved automatically. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6281 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: don’t allow to drop a preset before the built in ones.ritsuka2014-08-091-2/+10
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6280 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add a divider in the menu after the last built in preset and make ↵ritsuka2014-08-092-1/+22
| | | | | | the default preset bold. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6279 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: added the list of the presets at the bottom of the preset menu and a ↵ritsuka2014-08-0913-252/+360
| | | | | | | | “New Folder” menu item. Removed the “delete built-in presets” item because it takes just two clicks to remove them manually. Refactored part of HBPreset to a separate HBTreeNode class. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6278 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: replaced the few remaining enumerators in Controller.m with fast ↵ritsuka2014-08-081-27/+8
| | | | | | enumerators. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6277 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: removed the last remaining of the code to load a custom application ↵ritsuka2014-08-083-18/+1
| | | | | | icon. It was used to load a specific icon for the 64bit version, but it’s now unused. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6276 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use a shorter NSString method to remove the prefix from the bsdName, ↵ritsuka2014-08-081-2/+2
| | | | | | as reported by denisx on irc, in HBDVDDetector and and a boxing expression to convert a c string to NSString. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6275 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: removed a old check on the scan count from the era when the MacGui ↵ritsuka2014-08-082-72/+25
| | | | | | used a single libhb instance to encode and scan, and fixed a bug it was hiding: spurious calls to hb_get_state outside the updateUI loop were masking the HB_STATE_WORKDONE and HB_STATE_SCANDONE states, replaced them with hb_get_state2. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6274 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: improved the presets managementritsuka2014-08-0714-2709/+2890
| | | | | | | Added a class to manage the presets (HBPresetsManager) and moved the presets drawer code to a new view controller (HBPresetsViewController). Removed the limitation of two nested folders and added a way to add to custom folders. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6273 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libav: fix decoding of mpeg4 in transport streamsjstebbins2014-08-061-0/+41
| | | | | | | | | | There was a chicken & egg problem in the initialization sequence. mpeg4 only worked in non-transport streams because we use libav for demuxing these. The initializion of libav demux causes an additional initialization of the codec which hides the problem. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6272 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libav: fix mp4 chapter character encodingjstebbins2014-08-061-0/+37
| | | | | | | The encoding was not being flagged as UTF8 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6271 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix mp4 audio track titlesjstebbins2014-08-062-0/+140
| | | | | | | mp4 audio track titles were not being applied by libavformat git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6270 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix mp4 post tagging problemsjstebbins2014-08-062-0/+66
| | | | | | | | | | | A couple common mp4 taggers (mp3Tag and iTunes) fail to tag files that have the Nero chapter atom (chpl). This atom was added when we switched to libavformat for muxing. I haven't found any players yet that rely on this for chapters. If we ever find any, we can consider adding an option somewhere to enable chpl. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6269 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Modernized the objc syntax of HBAudio/HBAudioController and avoided ↵ritsuka2014-08-054-243/+172
| | | | | | the use of KVO to observer changes inside the same class. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6268 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: simplified the way the audio tracks are stored in the queue.ritsuka2014-08-045-247/+193
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6267 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Don't allow adding embedded subtitls when there are nonejstebbins2014-08-041-5/+26
| | | | | | | | Fixes a crash when attempting to switch subtitle dialog to embedded subtitle view. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6266 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix width of deblock sliderjstebbins2014-08-041-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6265 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Adds a new sheet for audio defaults (presets), uses the same preset ↵ritsuka2014-08-0414-531/+1723
| | | | | | | | keys as the LinGui. The built-in presets still use the languages from the Audio preferences. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6264 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fixed a number of missing release.ritsuka2014-08-042-6/+12
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6263 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: updated Preferences.xib to the new format.ritsuka2014-08-031-3894/+948
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6262 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: enabled type select in the languages table view.ritsuka2014-08-035-24/+44
| | | | | | Improved the subtitles defaults selection to avoid adding the same track twice. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6261 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Interop: Added support for NL-Means denoise.randomengy2014-08-0311-34/+76
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6260 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: set the import/export chapters buttons size to small in an effort to ↵ritsuka2014-08-021-12/+12
| | | | | | use the same button size in the whole app (and the mini size on Yosemite is hard to read) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6259 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add drag & drop to rearrange languages in the subtitles default panel.ritsuka2014-08-024-6/+174
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6258 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Force 2dp on Preview %sr552014-08-021-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6257 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix a styling issue on the preview window. Disable libhb encode ↵sr552014-08-029-24/+73
| | | | | | for the upcoming release so that users don't inadvertently turn it on. Made the new preview window an optional setting, off by default as it's a Alpha feature. (See Preferences) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6256 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: upgrade more xib files to the latest version.ritsuka2014-08-024-7711/+1398
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6255 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: corrected the label alignment in the add preset window.ritsuka2014-08-011-32/+30
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6254 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: added some tooltips to the subtitles defaults window and made the ↵ritsuka2014-08-013-30/+50
| | | | | | defaults buttons in the subtitles tab more visible. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6253 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: removed another duplicated method to get the Application Support path.ritsuka2014-07-311-18/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6252 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove the DiskArbitration framework from the Xcode project and the ↵ritsuka2014-07-311-4/+0
| | | | | | MACOSX_DEPLOYMENT_TARGET setting. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6251 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fixed a memory leak.ritsuka2014-07-311-0/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6250 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use the native language if available in the subtitles table and ↵ritsuka2014-07-312-3/+9
| | | | | | languages selection table. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6249 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix comment in isIframe()jstebbins2014-07-301-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6248 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: add i-frame detection for mpeg4 ts/ps streamsjstebbins2014-07-301-0/+15
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6247 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix potential seg fault in hb_hexdumpjstebbins2014-07-301-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6246 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: protect against failure to get preview imagejstebbins2014-07-301-1/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6245 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: check if the image returned by hb_get_preview2 is null to avoid a ↵ritsuka2014-07-301-29/+34
| | | | | | crash. The preview window will try to show the number of previews selected in the preferences, but an already loaded title might not have enough preview images. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6244 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use the new preview generation method hb_get_preview2.ritsuka2014-07-291-42/+33
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6243 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: add new function for retrieving previewsjstebbins2014-07-297-55/+200
| | | | | | | | | | | | | | | | This new function has a couple advantages over the old one (which we should phase out). It does not require hb_job_t as a parameter, instead it uses hb_ui_geometry_t which is a smaller and simpler struct. The entire job struct is overkill as input to this function. It returns an hb_image_t that fully describes the returned image instead of just a uint8_t array. The caller does not have to make assumptions about image size, line stide, or pixel format since hb_image_t specifies these things. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6242 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Implemented a configuration panel similar to the win/lin gui one for ↵ritsuka2014-07-2913-949/+1584
| | | | | | | | | | the subtitles defaults, and added some more options from the other guis (add all, remove all). The SubtitleAddForeignAudioSubtitle setting will be added later after the automatic audio selection is done. Fixed a bug where HandBrake used 50% of cpu time if the subtitles table view was selected. Refactored a big part of HBSubtitlesController to make it works with the new automatic options and to cleaned the table view data source. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6241 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: always keep display aspect unless using custom anamorphic modejstebbins2014-07-281-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6240 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui/CLI/libhb: add nlmeans denoise filter to linguijstebbins2014-07-2110-356/+535
| | | | | | | Move nlmeans preset&tune parsing from cli to libhb git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6239 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Used a different api in HBDVDDetector to avoid DiskArbitration crashes.ritsuka2014-07-191-19/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6238 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: removed an unneeded __bridge in HBDVDDetector. Might fix a crash in ↵ritsuka2014-07-171-1/+1
| | | | | | the nightly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6237 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: allow user cli options to override defaults for fallback audio encoderjstebbins2014-07-163-18/+66
| | | | | | | Solves: https://forum.handbrake.fr/viewtopic.php?f=10&t=28074&sid=68d8c5bfffd7081625bcd56fb7c4dad1 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6236 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: Improve handling of streams with broken video timestampsjstebbins2014-07-161-4/+11
| | | | | | | Addresses https://forum.handbrake.fr/viewtopic.php?f=12&t=30307&p=140045#p139847 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6235 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: Simplify output geometry calculationjstebbins2014-07-162-217/+80
| | | | | | | | Fix bug where non-anamorphic mode ignores modulus Change default modulus to 2 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6234 b64f7644-9d1e-0410-96f1-a4d463321fa5