summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* MacGui: Replaced some deprecated functions in HBDVDDetector and ignored the ↵ritsuka2014-07-163-70/+81
| | | | | | QTKit deprecations warnings for now. Grouped some files in the Xcode project. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6233 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: moved two methods used by the whole app to HBUtilities.m:ritsuka2014-07-167-114/+111
| | | | | | | - appSupportPath: - writeToActivityLog: git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6232 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Refactored the controller code for the ↵ritsuka2014-07-1523-19907/+5488
| | | | | | | | | | video/audio/subtitles/chapters view: Added a xib file and a NSViewController subclass for each tab of the main HandBrake window. Each view controller now to responds to the HBContainerChangedNotification and HBTitleChangedNotification notifications instead of using a custom way to notify changes. Converted the modified .xibs to the Xcode 5.1 format. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6231 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: work around bug in GtkScaleButtonjstebbins2014-07-151-42/+54
| | | | | | | | | When the button value is updated programatically, the update event is not sent and therefore the label is not updated. So update the label manually instead of relying on the event to trigger the update. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6230 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: work around libav decoder error durint p-to-p encodingjstebbins2014-07-143-23/+65
| | | | | | | | | In some cases, initial data when in p-to-p mode causes libav decoder initialization to fail. This only happens when multi-threaded encoding is enabled. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6229 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Expanded the auto name feature to make it as powerful as the WinGUI ↵ritsuka2014-07-116-950/+1494
| | | | | | counterpart. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6228 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Adding support for Nlmeans to the front-end. Plist keys still tbd.sr552014-07-0517-63/+496
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6227 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix typo in flag definitionjstebbins2014-07-011-1/+1
| | | | | | | NO_IDR and SCAN_COMPLETE values overlapped git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6226 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libav: fix decoding of multi-object PGSjstebbins2014-06-301-0/+671
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6225 b64f7644-9d1e-0410-96f1-a4d463321fa5