]> granicus.if.org Git - handbrake/log
handbrake
10 years agoMacGui: disable/enable the encoder options label when needed and fix the encoder...
ritsuka [Mon, 25 Aug 2014 09:16:19 +0000 (09:16 +0000)]
MacGui: disable/enable the encoder options label when needed and fix the encoder preset options when loading a queue item back to the main window.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6354 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: removed a couple of unused preferences keys (CheckForUpdates, DisableDvdAutoD...
ritsuka [Sun, 24 Aug 2014 05:59:00 +0000 (05:59 +0000)]
MacGui: removed a couple of unused preferences keys (CheckForUpdates, DisableDvdAutoDetect, DefAdvancedx264Flags) and the empty TOOLBAR_PICTURE tab. Added a new checkbox to hide the Advanced tab.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6353 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: fixed the HUD background on Snow Leopard.
ritsuka [Sun, 24 Aug 2014 05:54:31 +0000 (05:54 +0000)]
MacGui: fixed the HUD background on Snow Leopard.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6352 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: fixed two small leaks.
ritsuka [Sat, 23 Aug 2014 07:51:31 +0000 (07:51 +0000)]
MacGui: fixed two small leaks.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6351 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: replaced the last two NSBeginCriticalAlertSheet calls, and two NSEnumerators.
ritsuka [Sat, 23 Aug 2014 07:48:32 +0000 (07:48 +0000)]
MacGui: replaced the last two NSBeginCriticalAlertSheet calls, and two NSEnumerators.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6350 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: removed the “Large file size” checkbox.
ritsuka [Sat, 23 Aug 2014 07:47:20 +0000 (07:47 +0000)]
MacGui: removed the “Large file size” checkbox.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6349 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoWinGui: Switch to using hb_set_anamorphic_size2. This simplifies the picture settings...
sr55 [Fri, 22 Aug 2014 19:58:12 +0000 (19:58 +0000)]
WinGui: Switch to using hb_set_anamorphic_size2. This simplifies the picture settings code in the GUI and should hopefully fix a few bugs.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6348 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: fixed the preview controller HUD style on the next OS X release.
ritsuka [Fri, 22 Aug 2014 17:59:21 +0000 (17:59 +0000)]
MacGui: fixed the preview controller HUD style on the next OS X release.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6347 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: fixed auto naming for dvd sources.
ritsuka [Fri, 22 Aug 2014 17:52:41 +0000 (17:52 +0000)]
MacGui: fixed auto naming for dvd sources.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6346 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: removed an unnecessary NSBox in the Advanced tab.
ritsuka [Fri, 22 Aug 2014 17:51:35 +0000 (17:51 +0000)]
MacGui: removed an unnecessary NSBox in the Advanced tab.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6345 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agolibav: update fraem threading state patch
jstebbins [Fri, 22 Aug 2014 15:53:14 +0000 (15:53 +0000)]
libav: update fraem threading state patch

Use version written by Janne and committed to libav

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6344 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoLinGui: fix tooltip indentation and spelling errors
jstebbins [Fri, 22 Aug 2014 14:49:23 +0000 (14:49 +0000)]
LinGui: fix tooltip indentation and spelling errors

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6343 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoAdded back two files Xcode killed on its own in the previous commit
ritsuka [Fri, 22 Aug 2014 06:42:25 +0000 (06:42 +0000)]
Added back two files Xcode killed on its own in the previous commit

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6342 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: renamed HB*Settings classes to HB*Defaults. Added a “…” char to the “Configur...
ritsuka [Fri, 22 Aug 2014 06:30:58 +0000 (06:30 +0000)]
MacGui: renamed HB*Settings classes to HB*Defaults. Added a “…” char to the “Configure Defaults” button.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6341 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoLinGui: fix queue formatting
jstebbins [Thu, 21 Aug 2014 22:38:58 +0000 (22:38 +0000)]
LinGui: fix queue formatting

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6340 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoLinGui: Fix queue display when no audio tracks
jstebbins [Thu, 21 Aug 2014 20:42:54 +0000 (20:42 +0000)]
LinGui: Fix queue display when no audio tracks

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6339 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: load the old lavcOption format too is preset in the preset.
ritsuka [Thu, 21 Aug 2014 18:11:08 +0000 (18:11 +0000)]
MacGui: load the old lavcOption format too is preset in the preset.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6338 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: remapped lavcOption to VideoOptionExtra.
ritsuka [Thu, 21 Aug 2014 18:08:23 +0000 (18:08 +0000)]
MacGui: remapped lavcOption to VideoOptionExtra.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6337 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: load the lavcOption from preset and fixed the encoder selection when the...
ritsuka [Thu, 21 Aug 2014 17:43:05 +0000 (17:43 +0000)]
MacGui: load the lavcOption from preset and fixed the encoder selection when the container is changed.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6336 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoWinGui: Remove some cruft from the solution.
sr55 [Thu, 21 Aug 2014 17:34:01 +0000 (17:34 +0000)]
WinGui: Remove some cruft from the solution.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6335 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: generalize video preset/tune/profile/level handling to make it works with...
ritsuka [Thu, 21 Aug 2014 17:26:28 +0000 (17:26 +0000)]
MacGui: generalize video preset/tune/profile/level handling to make it works with the x265 encoder. Moved the lavc encoder options textfield to the video tab.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6334 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: removed unneeded outlets from PictureSettings.xib.
ritsuka [Thu, 21 Aug 2014 16:44:08 +0000 (16:44 +0000)]
MacGui: removed unneeded outlets from PictureSettings.xib.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6333 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoWinGui: Further updates to the preset import/export functionality.
sr55 [Thu, 21 Aug 2014 16:28:49 +0000 (16:28 +0000)]
WinGui: Further updates to the preset import/export functionality.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6332 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoCLI: make string split function aware of escaping and quoting
jstebbins [Thu, 21 Aug 2014 16:14:53 +0000 (16:14 +0000)]
CLI: make string split function aware of escaping and quoting

Fixes problem with audio track names that contain commas

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6331 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoWinGui: Use OutputFormat display name, rather than the enum name.
sr55 [Thu, 21 Aug 2014 15:47:07 +0000 (15:47 +0000)]
WinGui: Use OutputFormat display name, rather than the enum name.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6330 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoWinGui: Add some additional escaping around the audio track names
sr55 [Thu, 21 Aug 2014 15:20:43 +0000 (15:20 +0000)]
WinGui: Add some additional escaping around the audio track names

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6329 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agobuild: add cmake contrib for building x265 on osx
jstebbins [Wed, 20 Aug 2014 17:44:07 +0000 (17:44 +0000)]
build: add cmake contrib for building x265 on osx

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6328 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agomuxavformat: Fix muxing of AAC that is missing extradata
jstebbins [Wed, 20 Aug 2014 17:43:11 +0000 (17:43 +0000)]
muxavformat: Fix muxing of AAC that is missing extradata

Allocate extra byte so extradata pointer is not NULL.
Fix logging of malloc failures so we can see what failed.
Fix test for existence of extradata, check length NOT bytes. bytes is never NULL

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6327 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agolibhb: fix potential crash in filters
jstebbins [Wed, 20 Aug 2014 17:25:37 +0000 (17:25 +0000)]
libhb: fix potential crash in filters
If the job aborts right away, an uninitialized buffer is closed and crash!

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6326 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: set the tab views directly instead of adding a subview in the main window.
ritsuka [Wed, 20 Aug 2014 07:35:27 +0000 (07:35 +0000)]
MacGui: set the tab views directly instead of adding a subview in the main window.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6325 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: added a HBDockTile class to manage the dock tile.
ritsuka [Wed, 20 Aug 2014 07:29:18 +0000 (07:29 +0000)]
MacGui: added a HBDockTile class to manage the dock tile.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6324 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: made the width and height textfield editable in the picture settings window.
ritsuka [Tue, 19 Aug 2014 18:06:09 +0000 (18:06 +0000)]
MacGui: made the width and height textfield editable in the picture settings window.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6323 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: Fixed a crash in HBFilters caused by a missing boxing of a bool.
ritsuka [Tue, 19 Aug 2014 17:11:53 +0000 (17:11 +0000)]
MacGui: Fixed a crash in HBFilters caused by a missing boxing of a bool.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6322 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: Removed the code to show/hide the fSrcAngle* UI elements in Controller.m...
ritsuka [Tue, 19 Aug 2014 17:10:28 +0000 (17:10 +0000)]
MacGui: Removed the code to show/hide the fSrcAngle* UI elements in Controller.m, the same work is now done in the MainMenu.xib with bindings.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6321 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoWinGui: -Fix to the update service. -Change NlMeans to NLMeans
sr55 [Tue, 19 Aug 2014 16:54:24 +0000 (16:54 +0000)]
WinGui: -Fix to the update service.  -Change NlMeans to NLMeans

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6320 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: added support for NLMeans denoise. Added the HBFilters class to store the...
ritsuka [Tue, 19 Aug 2014 16:38:33 +0000 (16:38 +0000)]
MacGui: added support for NLMeans denoise. Added the HBFilters class to store the filters settings, previously they were stored directly in the HBPictureController window controller.
Removed the filter tab animations for now, they will be added back later.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6319 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoLinGui: fix ubuntu package configure options
jstebbins [Tue, 19 Aug 2014 15:25:11 +0000 (15:25 +0000)]
LinGui: fix ubuntu package configure options

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6318 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoLinGui: add cmake to ubuntu package build dependencies
jstebbins [Tue, 19 Aug 2014 15:10:11 +0000 (15:10 +0000)]
LinGui: add cmake to ubuntu package build dependencies

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6317 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoLinGui: add translation for old x264OptionExtra preset key
jstebbins [Tue, 19 Aug 2014 14:55:12 +0000 (14:55 +0000)]
LinGui: add translation for old x264OptionExtra preset key

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6316 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoUsing https for all appcast urls
sr55 [Tue, 19 Aug 2014 11:46:48 +0000 (11:46 +0000)]
Using https for all appcast urls

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6315 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoWinGUI: Switch the appcast URL's to https
sr55 [Tue, 19 Aug 2014 11:39:45 +0000 (11:39 +0000)]
WinGUI: Switch the appcast URL's to https

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6314 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoLinGui: add x264 and lame to ubuntu package dependencies
jstebbins [Mon, 18 Aug 2014 20:41:19 +0000 (20:41 +0000)]
LinGui: add x264 and lame to ubuntu package dependencies

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6313 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoLinGui: link lame and x264 system libs
jstebbins [Mon, 18 Aug 2014 20:38:49 +0000 (20:38 +0000)]
LinGui: link lame and x264 system libs

These projects have been stable long enough that we should not need to worry
about broken system libs any more.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6312 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoSome Minor build doc updates
sr55 [Mon, 18 Aug 2014 20:17:11 +0000 (20:17 +0000)]
Some Minor build doc updates

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6311 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoWinGui: Update copyright and version numbers for upcoming releases.
sr55 [Mon, 18 Aug 2014 20:01:40 +0000 (20:01 +0000)]
WinGui: Update copyright and version numbers for upcoming releases.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6310 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agobuild: remove mp4v2 and libmkv dependencies
jstebbins [Mon, 18 Aug 2014 17:22:30 +0000 (17:22 +0000)]
build: remove mp4v2 and libmkv dependencies
...and enable x265 by default

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6309 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoWinGui: Some updates to the NEWS and CREDITS file
sr55 [Mon, 18 Aug 2014 17:05:00 +0000 (17:05 +0000)]
WinGui: Some updates to the NEWS and CREDITS file

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6308 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoRemove faac and faad2 contrib folders as they are empty.
sr55 [Mon, 18 Aug 2014 16:52:00 +0000 (16:52 +0000)]
Remove faac and faad2 contrib folders as they are empty.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6307 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: general clean up of HBQueueController: removed unused UI elements and code...
ritsuka [Mon, 18 Aug 2014 06:22:02 +0000 (06:22 +0000)]
MacGui: general clean up of HBQueueController: removed unused UI elements and code, moved the toolbar to the xib, update the obj-c syntax.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6306 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: initialize the languages list before the window in the prefsController, so...
ritsuka [Mon, 18 Aug 2014 06:15:59 +0000 (06:15 +0000)]
MacGui: initialize the languages list before the window in the prefsController, so the popup in the audio tab will show the actual languages list.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6305 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: changed the preset selection code a little bit again.
ritsuka [Sun, 17 Aug 2014 06:10:35 +0000 (06:10 +0000)]
MacGui: changed the preset selection code a little bit again.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6304 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: fixed the bitrates popup in the audio default panel, it didn’t update properl...
ritsuka [Sat, 16 Aug 2014 18:26:24 +0000 (18:26 +0000)]
MacGui: fixed the bitrates popup in the audio default panel, it didn’t update properly when the sample rate was set to auto.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6303 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: forgot a file in rev 6300 commit.
ritsuka [Sat, 16 Aug 2014 16:12:16 +0000 (16:12 +0000)]
MacGui: forgot a file in rev 6300 commit.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6302 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: select the default preset in the presets drawer at start up. Added a missing...
ritsuka [Sat, 16 Aug 2014 16:09:25 +0000 (16:09 +0000)]
MacGui: select the default preset in the presets drawer at start up. Added a missing NSAlert release.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6301 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: Fixed the languages selection in the built in presets for languages with...
ritsuka [Sat, 16 Aug 2014 16:05:26 +0000 (16:05 +0000)]
MacGui: Fixed the languages selection in the built in presets for languages with a native name.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6300 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoLinGui: make video preset/tune/profile/level tooltips more general
jstebbins [Fri, 15 Aug 2014 22:09:59 +0000 (22:09 +0000)]
LinGui: make video preset/tune/profile/level tooltips more general

...so they apply to x265 as well.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6299 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoLinGui: improve denoise filter tooltip
jstebbins [Fri, 15 Aug 2014 21:53:35 +0000 (21:53 +0000)]
LinGui: improve denoise filter tooltip

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6298 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoLinGui: remove video qualite range warning
jstebbins [Fri, 15 Aug 2014 21:47:15 +0000 (21:47 +0000)]
LinGui: remove video qualite range warning

It just causes confusion

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6297 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agolibav: fix problem decoding broken rv40 sample
jstebbins [Thu, 14 Aug 2014 17:25:24 +0000 (17:25 +0000)]
libav: fix problem decoding broken rv40 sample

The sample begins with a bframe which causes the rv40 to throw an error
at the beginning of decode.  This error leaves frame threading in a bad
state that is never recovered from.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6296 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoLinGui: oops forgot to svn add files
jstebbins [Wed, 13 Aug 2014 20:19:25 +0000 (20:19 +0000)]
LinGui: oops forgot to svn add files

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6295 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGUI: Replace deprecated NSBeginCriticalAlertSheet / NSRunAlertPanel / NSRunCritica...
ritsuka [Wed, 13 Aug 2014 08:40:45 +0000 (08:40 +0000)]
MacGUI: Replace deprecated NSBeginCriticalAlertSheet / NSRunAlertPanel / NSRunCriticalAlertPanel with NSAlert. Patch https://reviews.handbrake.fr/r/711/ by Alexander Zautke with a few modifications by me.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6294 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoLinGui: generalize video preset/tune/profile/level handling
jstebbins [Tue, 12 Aug 2014 18:46:41 +0000 (18:46 +0000)]
LinGui: generalize video preset/tune/profile/level handling

This generalization enables x265 preset/tune/profile/level which
did not work previously.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6293 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agolibhb: Sanitize BD chapter durations
jstebbins [Mon, 11 Aug 2014 18:05:36 +0000 (18:05 +0000)]
libhb: Sanitize BD chapter durations
It appears some BDs have invalid chapter durations, see
https://forum.handbrake.fr/viewtopic.php?f=12&t=30479

This compares chapter start time deltas and title duration to chapter
duration to make best guess corrections.

Note that chapter events generated by libbluray are based on the chapter
start times. So the start time should be trusted more than the duration.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6292 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoLinGui: Fix initialization of audio quality widget limits
jstebbins [Mon, 11 Aug 2014 17:48:19 +0000 (17:48 +0000)]
LinGui: Fix initialization of audio quality widget limits
When opening the audio edit dialog for a track in the audio list,
the audio quality was set to a bad value because the limits were
not set correctly.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6291 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoLinGui: Fix a problem with audio quality slider
jstebbins [Mon, 11 Aug 2014 17:16:23 +0000 (17:16 +0000)]
LinGui: Fix a problem with audio quality slider
It was getting reset to default value every time another audio
widget changed.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6290 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: changed the layout of the UI in the video panel to be similar to the other...
ritsuka [Mon, 11 Aug 2014 15:58:42 +0000 (15:58 +0000)]
MacGui: changed the layout of the UI in the video panel to be similar to the other guis. Plus small alignments fixes.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6289 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: fixed the validation of the File menu. The validateMenuItem: method was using...
ritsuka [Mon, 11 Aug 2014 15:39:58 +0000 (15:39 +0000)]
MacGui: fixed the validation of the File menu. The validateMenuItem: method was using the wrong hb_handle_t .

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6288 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoLinGui: protect against possible divide by 0
jstebbins [Mon, 11 Aug 2014 14:49:33 +0000 (14:49 +0000)]
LinGui: protect against possible divide by 0

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6287 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoLinGui: Fix title numbers in auto destination filename
jstebbins [Mon, 11 Aug 2014 14:49:04 +0000 (14:49 +0000)]
LinGui: Fix title numbers in auto destination filename

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6286 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: implemented the HBViewValidation protocol in each of the main window view...
ritsuka [Sun, 10 Aug 2014 16:05:07 +0000 (16:05 +0000)]
MacGui: implemented the HBViewValidation protocol in each of the main window view controllers.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6285 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: fixed gain validation in the audio panel. Remove the drc validation because...
ritsuka [Sun, 10 Aug 2014 15:15:10 +0000 (15:15 +0000)]
MacGui: fixed gain validation in the audio panel. Remove the drc validation because it’s not possible to insert the value manually.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6284 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoWinGui: Add new preset keys for the Audio and Subtitle default behaviours. Updated...
sr55 [Sun, 10 Aug 2014 14:43:30 +0000 (14:43 +0000)]
WinGui: Add new preset keys for the Audio and Subtitle default behaviours. 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

10 years agoMacGui: fixed some audio presets key: AudioSamplerate -> string, AudioTrackDRCSlider...
ritsuka [Sun, 10 Aug 2014 14:33:15 +0000 (14:33 +0000)]
MacGui: fixed some audio presets key: AudioSamplerate -> string, AudioTrackDRCSlider -> float.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6282 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: removed the “Show Presets Drawer” preference. The state of the drawer is...
ritsuka [Sun, 10 Aug 2014 10:03:12 +0000 (10:03 +0000)]
MacGui: removed the “Show Presets Drawer” preference. The state of the drawer is now saved automatically.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6281 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: don’t allow to drop a preset before the built in ones.
ritsuka [Sat, 9 Aug 2014 18:56:29 +0000 (18:56 +0000)]
MacGui: don’t allow to drop a preset before the built in ones.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6280 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: add a divider in the menu after the last built in preset and make the default...
ritsuka [Sat, 9 Aug 2014 18:43:28 +0000 (18:43 +0000)]
MacGui: add a divider in the menu after the last built in preset and make the default preset bold.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6279 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: added the list of the presets at the bottom of the preset menu and a “New...
ritsuka [Sat, 9 Aug 2014 17:10:45 +0000 (17:10 +0000)]
MacGui: added the list of the presets at the bottom of the preset menu and a “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

10 years agoMacGui: replaced the few remaining enumerators in Controller.m with fast enumerators.
ritsuka [Fri, 8 Aug 2014 06:31:06 +0000 (06:31 +0000)]
MacGui: replaced the few remaining enumerators in Controller.m with fast enumerators.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6277 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: removed the last remaining of the code to load a custom application icon...
ritsuka [Fri, 8 Aug 2014 06:12:55 +0000 (06:12 +0000)]
MacGui: removed the last remaining of the code to load a custom application 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

10 years agoMacGui: use a shorter NSString method to remove the prefix from the bsdName, as repor...
ritsuka [Fri, 8 Aug 2014 05:57:38 +0000 (05:57 +0000)]
MacGui: use a shorter NSString method to remove the prefix from the bsdName, 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

10 years agoMacGui: removed a old check on the scan count from the era when the MacGui used a...
ritsuka [Fri, 8 Aug 2014 05:55:01 +0000 (05:55 +0000)]
MacGui: removed a old check on the scan count from the era when the MacGui 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

10 years agoMacGui: improved the presets management
ritsuka [Thu, 7 Aug 2014 13:54:14 +0000 (13:54 +0000)]
MacGui: improved the presets management
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

10 years agolibav: fix decoding of mpeg4 in transport streams
jstebbins [Wed, 6 Aug 2014 20:24:23 +0000 (20:24 +0000)]
libav: fix decoding of mpeg4 in transport streams

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

10 years agolibav: fix mp4 chapter character encoding
jstebbins [Wed, 6 Aug 2014 17:38:05 +0000 (17:38 +0000)]
libav: fix mp4 chapter character encoding

The encoding was not being flagged as UTF8

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6271 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agolibhb: fix mp4 audio track titles
jstebbins [Wed, 6 Aug 2014 17:34:08 +0000 (17:34 +0000)]
libhb: fix mp4 audio track titles

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

10 years agolibhb: fix mp4 post tagging problems
jstebbins [Wed, 6 Aug 2014 17:11:41 +0000 (17:11 +0000)]
libhb: fix mp4 post tagging problems

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

10 years agoMacGui: Modernized the objc syntax of HBAudio/HBAudioController and avoided the use...
ritsuka [Tue, 5 Aug 2014 07:49:22 +0000 (07:49 +0000)]
MacGui: Modernized the objc syntax of HBAudio/HBAudioController and avoided 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

10 years agoMacGui: simplified the way the audio tracks are stored in the queue.
ritsuka [Mon, 4 Aug 2014 16:46:17 +0000 (16:46 +0000)]
MacGui: simplified the way the audio tracks are stored in the queue.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6267 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoLinGui: Don't allow adding embedded subtitls when there are none
jstebbins [Mon, 4 Aug 2014 15:05:43 +0000 (15:05 +0000)]
LinGui: Don't allow adding embedded subtitls when there are none
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

10 years agoLinGui: fix width of deblock slider
jstebbins [Mon, 4 Aug 2014 14:45:53 +0000 (14:45 +0000)]
LinGui: fix width of deblock slider

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6265 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: Adds a new sheet for audio defaults (presets), uses the same preset keys...
ritsuka [Mon, 4 Aug 2014 07:12:12 +0000 (07:12 +0000)]
MacGui: Adds a new sheet for audio defaults (presets), uses the same preset 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

10 years agoMacGui: fixed a number of missing release.
ritsuka [Mon, 4 Aug 2014 07:05:06 +0000 (07:05 +0000)]
MacGui: fixed a number of missing release.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6263 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: updated Preferences.xib to the new format.
ritsuka [Sun, 3 Aug 2014 11:24:20 +0000 (11:24 +0000)]
MacGui: updated Preferences.xib to the new format.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6262 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: enabled type select in the languages table view.
ritsuka [Sun, 3 Aug 2014 11:00:34 +0000 (11:00 +0000)]
MacGui: enabled type select in the languages table view.
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

10 years agoInterop: Added support for NL-Means denoise.
randomengy [Sun, 3 Aug 2014 04:33:09 +0000 (04:33 +0000)]
Interop: Added support for NL-Means denoise.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6260 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoMacGui: set the import/export chapters buttons size to small in an effort to use...
ritsuka [Sat, 2 Aug 2014 16:18:20 +0000 (16:18 +0000)]
MacGui: set the import/export chapters buttons size to small in an effort to 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

10 years agoMacGui: add drag & drop to rearrange languages in the subtitles default panel.
ritsuka [Sat, 2 Aug 2014 16:14:16 +0000 (16:14 +0000)]
MacGui: add drag & drop to rearrange languages in the subtitles default panel.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6258 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoWinGui: Force 2dp on Preview %
sr55 [Sat, 2 Aug 2014 15:48:55 +0000 (15:48 +0000)]
WinGui: Force 2dp on Preview %

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6257 b64f7644-9d1e-0410-96f1-a4d463321fa5

10 years agoWinGui: Fix a styling issue on the preview window. Disable libhb encode for the...
sr55 [Sat, 2 Aug 2014 15:18:50 +0000 (15:18 +0000)]
WinGui:  Fix a styling issue on the preview window.  Disable libhb encode 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

10 years agoMacGui: upgrade more xib files to the latest version.
ritsuka [Sat, 2 Aug 2014 08:26:00 +0000 (08:26 +0000)]
MacGui: upgrade more xib files to the latest version.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6255 b64f7644-9d1e-0410-96f1-a4d463321fa5